File: README.md

package info (click to toggle)
infgen 3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 184 kB
  • sloc: ansic: 1,589; makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Synopsis
--------

_infgen_ is a deflate stream disassembler. It will read a gzip, zlib, or raw
deflate stream, and output a readable description of the contents.

Motivation
----------

_infgen_ permits the examination of deflate compressed data for instructional
purposes, to see how the data is compressed, and for debugging deflate
compressors.

Installation
------------

Simply compile `infgen.c`, and provide the compressed data to stdin. The
disassembled output will be written to stdout. The zlib library needs to be
linked for CRC-32 functionality that is used on PNG input.

Test
----

    gzip < infgen.c | ./infgen

will display the disassembled result of compressing the _infgen_ source code.

Use:

    infgen -h

to see the command options.

Documentation
-------------

A list of all of the command options and detailed technical documentation can
be found in the comments at the start of [infgen.c](infgen.c)

License
-------

This code is under the zlib license, found in the source file and LICENSE.