redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.85k stars 126 forks source link

Rewrite gzip component to support trailing bytes without external tool and compress with PIGZ. Addresses #476 #485

Closed alchzh closed 2 weeks ago

alchzh commented 1 month ago

Rewrite gzip component to support trailing bytes without external tool.

Link to Related Issue(s)

476

python/cpython#68489

Please describe the changes in your request.

alchzh commented 2 weeks ago

Based on benchmarks of zlib module vs pigz, no benefit to using pigz for decompression, but significant benefit to using it for compression.

https://gist.github.com/alchzh/24ca62a6f87548ea2b1911c174e0ed54