Tags: X86 MACOSX WINDOWS L3 X64 LINUX EXEC .
It's a well known data compression algorithm. However, due to a mistake (or typo) in the (closed) source code, it decompresses incorrectly. Here we can see this bug in these examples.
This is a text used as a source: files/test.txt.
This is the text compressed correctly: files/test.compressed.
This is the incorrectly uncompressed text: files/test.uncompressed_incorrectly.
Try to find and fix the bug. With some effort, it can be done even by patching the binary.
More challenges: challenges.re; about solutions: challenges.re/#Solutions.