nevesnunes / infgen

Deflate disassember to convert a deflate, zlib, or gzip stream into a readable form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this fork

Verbose logging has been added to infgen's output, to allow parsing and manipulating DEFLATE streams down to the bit level.

These modifications are done for the purpose of non-commercial research.

Original README transcribed below.

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.

Test

gzip < infgen.c | ./infgen

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

Use:

infgen -h

to see the command options.

License

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

About

Deflate disassember to convert a deflate, zlib, or gzip stream into a readable form.


Languages

Language:C 100.0%