Deflate disassember to convert a deflate, zlib, or gzip stream into a readable form.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add .gitignore. Jan 3, 2017 Add README for github. Jul 29, 2016
infgen.c Fix erroneous declaration of i/o error on devices. Jan 3, 2017


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


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


Simply compile infgen.c, and provide the compressed data to stdin. The disassembled output will be written to stdout.


gzip < infgen.c | ./infgen

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


infgen -h

to see the command options.


This code is copyrighted, all rights reserved. It can be used for personal enlightenment.