WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
37.42k stars 1.64k forks source link

zlib_decompress to process raw deflate data (w/o zlib or gzip header). #1756

Open neutron-ice opened 2 weeks ago

neutron-ice commented 2 weeks ago

https://github.com/WerWolv/ImHex/blob/bf518b3590f91444b158463272018a33ed491144/plugins/decompress/source/content/pl_functions.cpp#L53

windowSize can be negative.

from docs:

windowBits can also be –8..–15 for raw inflate.