inflate
function · zlib · boundary
- Address
0x730ea0· 4816 bytes, up to0x73216f- Signature
int32_t __fastcall (void *strm, int32_t flush)- Meaning
- Inflates a zlib stream as zlib 1.2.2 does: its entry checks match and the bz tests run it
- Confidence
- inferred
- Finding
- storm/bz#the-zlib-it-links
- Test
storm::bz_read_difftest,storm::bz_damaged_difftest
Finding: The zlib it links in storm: compressed loose files
0x730e80 is zlib's inflateInit_: it passes window bits 15 to 0x730d60, inflateInit2_. That checks
the version's first character against 1.2.2 and the stream size against 0x38, defaults the allocator
to 0x7348f0 and 0x734910, allocates a 0x1ba8-byte state and, for 15 bits, sets the wrapper to 1 and the window to 2^15: a zlib
header and an Adler-32 check. 0x732320 is inflateEnd. 0x730ea0 opens as zlib 1.2.2's inflate
does; the rest of its 4,816 bytes is not read here, and the tests run it on every stream they use. Unlike
later zlib it does not require a dynamic block to code end-of-block, so such a block decodes on.
The derivation is in the doc.
Callers 5
- ReadBzFile storm
- ZlibUncompress storm
- 0x668750 storm
- 0x668950 storm
- 0x734810 unassigned
Callees 5
Calls and jumps by a bare address, from tables/calls.tsv.