innospect 0.1.1

Parse and inspect Inno Setup installer binaries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Decompression layer.
//!
//! Handles the block stream around the compressed `setup-0` header:
//! a 9-byte outer header (≥ 4.0.9) followed by a sequence of 4 KiB
//! CRC32-prefixed sub-chunks. The un-prefixed sub-chunks concatenate
//! into a raw LZMA1 / Zlib / stored stream.
//!
//! The setup-1 chunk stream uses a different framing and lives in
//! the `extract::chunk` module.
//!
//! See `RESEARCH.md` §4 and
//! `research-notes/05-streams-and-compression.md` §"Block (setup-0)"
//! for the canonical format reference.

pub mod block;

pub use block::{BlockCompression, decompress_block};