Open hikali8 opened 6 months ago
I believe this works okay on the newer version of this that is specialized or Python 3.8 (and 3.7), called decompyle3.
@hikali8 (or anyone wanting to fix): If you are up for it see why "COME_FROM" at the very top is missing in this code base while it is correctly added in decompyle3.
@hikali8 (or anyone wanting to fix): If you are up for it see why "COME_FROM" at the very top is missing in this code base while it is correctly added in decompyle3.
Thank you rocky, I just tested that code in decompyle3 and it was intactly printed, so I will likely be observing decompyle3 and figuring out the cream in it
I will likely be observing decompyle3 and figuring out the cream in it
Great - thanks! The options that will display a lot of information regarding the thought processes the decompilers use is -AgT
, for example
decompyle3 -AgT bug-while.pyc
I will be giving a talk on these decompilers at Blackhat Asia 2024 .
Description
"While True" will disappear if a "if" branch is indirectly under it
How to Reproduce
Output Given
Expected behavior
Environment
uncompyle6 --version
uncompyle6 3.9.1.dev0pydisasm --version
pydisasm, version 6.1.0.dev0python -c "import sys; print(sys.version)"
wherepython
is the correct CPython or PyPy binary. 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]