SkillAgentSearch skills...

Infgen

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

Install / Use

/learn @madler/Infgen
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

License

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

View on GitHub
GitHub Stars268
CategoryDevelopment
Updated14d ago
Forks30

Languages

C

Security Score

80/100

Audited on Mar 15, 2026

No findings