rocky
2e91de8355
Start using our replacement for inspect.iscode
2015-12-30 18:44:27 -05:00
rocky
a30f3625ac
Fix Python 2 cross deparsing pythond bytecode tuples co_consts,
...
co_names, co_varnames. Reinstate cross Python 2-3 uncompiling
2015-12-29 22:11:45 -05:00
rocky
16af79f042
Make sure internObjects is (re)initialized
2015-12-29 17:33:54 -05:00
rocky
f77c4b53c4
Marshal loading of = >python 3.4 from Python < 3.4
2015-12-28 14:56:53 -05:00
rocky
6f0a252693
Add Python3 marshal codes and start to handle cross-version Python code
...
object types, introducing scan.Code3
2015-12-28 14:17:28 -05:00
rocky
625feb0517
Possibly closer to getting 2.7 to read 3.4 bytecode
2015-12-27 22:24:30 -05:00
rocky
820fdb4771
Fix up Python 2.x's ability to get code from Python 3.x's bytecode
2015-12-27 19:36:02 -05:00
rocky
5dc3af3238
Start slice and build list on Python3. Do sanity check on marshal load
...
of code.
2015-12-21 06:41:02 -05:00
rocky
6910e1b1b4
Python 3 decompilation from Python2
2015-12-20 18:18:40 -05:00
rocky
0a49c7a15b
verify.py: Don't try to verify bytecode against compiled code if
...
magics of running interpreter mismatch bytecode to be compared.
load_module() now returns the magic found in the code object file.
2015-12-18 22:04:50 -05:00
rocky
6bc425b45e
marshal.py: Python2 marshal code shouldn't try to turn a code object
...
into a string. parse3.py: handle both keyword and positional function
calls. scanner34.py: Remove extra level of quoting in LOAD_CONST.
Keyward handling now works cross Python 2/3. Some other spelling and doc fixes.
2015-12-18 21:20:12 -05:00
rocky
9fecb48744
Tidy a little bit
2015-12-16 01:52:11 -05:00
rocky
dafca53022
Add some disassemble tests using pytest.
2015-12-15 17:58:38 -05:00
rocky
683c75d37e
Split out marhsal and disassemble code and spell disassemble correctly.
...
Fix some lint issues
2015-12-15 12:10:03 -05:00