- Notifications
You must be signed in to change notification settings - Fork29
Deflate disassember to convert a deflate, zlib, or gzip stream into a readable form.
License
madler/infgen
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
infgen is a deflate stream disassembler. It will read a gzip, zlib, or rawdeflate stream, and output a readable description of the contents.
infgen permits the examination of deflate compressed data for instructionalpurposes, to see how the data is compressed, and for debugging deflatecompressors.
Simply compileinfgen.c
, and provide the compressed data to stdin. Thedisassembled output will be written to stdout. The zlib library needs to belinked for CRC-32 functionality that is used on PNG input.
gzip < infgen.c | ./infgen
will display the disassembled result of compressing theinfgen source code.
Use:
infgen -h
to see the command options.
A list of all of the command options and detailed technical documentation canbe found in the comments at the start ofinfgen.c
This code is under the zlib license, found in the source file and LICENSE.