python-uncompyle6 icon indicating copy to clipboard operation
python-uncompyle6 copied to clipboard

A cross-version Python bytecode decompiler

Results 49 python-uncompyle6 issues
Sort by recently updated
recently updated
newest added

Would you please check this pyo file: https://github.com/Ednaz/RussianMediaPark/blob/master/RussianMediaPark/plugin.pyo Here's what I get: `Traceback (most recent call last): File "/usr/local/bin/uncompyle6", line 11, in load_entry_point('uncompyle6==3.4.0', 'console_scripts', 'uncompyle6')() File "build/bdist.linux-x86_64/egg/uncompyle6/bin/uncompile.py", line 194, in...

insufficient bug report
questionable activity

## Description it gets to "272 709 JUMP_ABSOLUTE 847 'to 847'" in the instruction context and then fails right before an ELSE. "Parse error at or near `JUMP_ABSOLUTE' instruction at...

Python 2.7
Questionable Activity

## Description ``` $ pyenv local 3.7.3 $ cd test $ ./test_pyenvlib.py --3.7.3 --max 2200 --verify ``` Remove 36 or so parser errors. @x0ret as with the others, if this...

Epic

root@mylic:~/python-uncompyle6/web_panel/backend/util# uncompyle6 -o /root/python-uncompyle6/temp /root/python-uncompyle6/temp/billing.pyc Instruction context: -> 417 164 LOAD_FAST 'results' # file /root/python-uncompyle6/temp/billing.pyc # Deparsing stopped due to parse error # decompile failed Can anyone try it out...

Python 3.6
Control Flow
Questionable Activity

This is done in scanner{2,3}.py in ingest() and it is done as several steps. It is also different in Python2 and Python3. This should be turned into a single common...

There is a lot of duplicate code that looks for line-table line breaks. It also has the undesirable feature that it notices the break generally one token too late. Format...

I want to use uncompyle6 to take a pyo file and try to restore the py file that it was made from. Any way to have the line numbers match?...

Enhancement

They uncompyle6 is way way too hacky for determining control flow. Right now, this is the crap done in the "scanner" phase which adds psuedo control-flow opcodes, namely `COME_FROM...`. We...

code refactor
Control Flow

In Python 3 with jump optimization, uncomplyle6 often adds "continue" statements where it is not needed or where "pass" statements were probably used. https://github.com/rocky/python-uncompyle6/blob/master/test/simple_source/looping/12_if_while_true_pass.py is a good example. We can...

Enhancement
code refactor
Control Flow

uncompyle6 uses the source-code line number table to help it know when to split a line. However it usually knows where there was a line break after the string that...