pycdc
pycdc copied to clipboard
Incomplete decompilation: lost if statement
Hi!
First of all, thank you for your work on this cool decompiler!
Recently me and my colleague come across a bug, that causes some of the if statements, and the code that follows them, to be lost.
This bug occurs in the current version, but not in the version from a year back. I found out that it was introduced in the commit 46affe279cb670c7b80e71c6906f742fef5cda02
Test case
obfuscated.pyc.zip - packed with a password infected (it is a module from a malware)
Missing code
The above sample, decompiled by the older version (before the commit 46affe279cb670c7b80e71c6906f742fef5cda02) vs the new version - after that commit:
