rocky
b88af23406
Mis spelling corrections
2024-03-14 05:39:30 -04:00
rocky
daf54d2740
2.6 scanner show -A headers now
2024-03-13 21:39:35 -04:00
rocky
628b18fce7
rename assembly phases and tweak a err msg...
...
before tokenization -> disassembly
after tokenization -> tokenization
2024-03-13 21:02:27 -04:00
rocky
830a2ebf44
Sync with decompyle3
2024-03-02 04:32:26 -05:00
rocky
2b8406e7a8
mark "psuedo ops"
2024-02-25 06:08:06 -05:00
rocky
8a1fd7e127
Keep optype info in token...
...
It is useful for ADD_VALUE
2024-02-24 17:41:32 -05:00
rocky
5a367717fa
Merge hell
2024-02-24 10:14:31 -05:00
rocky
1ef631dd76
Track change in xdis Instruction ...
...
we now need to set positions which will be used in newer Pythons.
2024-02-18 21:13:30 -05:00
rocky
3e00880c1b
remove double-quote preference here....
...
it is now done in xdis which is where it is better done
2024-02-18 08:21:07 -05:00
rocky
0a08b8d3fc
Simplify double quote preference in string
2024-02-17 19:46:57 -05:00
rocky
3ef4ab4944
Prefer using double quote for strings
2024-02-17 12:57:48 -05:00
rocky
2886d2bd08
Track important changes to xdis
...
Annotation counts have changed.
EXTENDED_ARGS adjustment in instructions have been corrected.
2024-02-11 23:24:19 -05:00
rocky
8348d86b09
Better annotation parsing for < 3.6
2024-02-11 19:46:13 -05:00
rocky
454fac4adb
Handle 3.3 MAKE_FUNCTION annotation args properly
2024-02-11 11:50:25 -05:00
rocky
dcc9d1a571
Fix spelling via "codespell"
2023-12-17 10:52:32 -05:00
rocky
0ea75cadca
Small bit of linting
2023-10-06 02:44:41 -04:00
rocky
803678e9b4
Track recent xdis changes
2023-08-26 14:39:42 -04:00
rocky
227f494fa8
Double -a option show asm before tokenization
2023-07-04 07:13:54 -04:00
rocky
d6608712f1
correct fn name on older 3.x cross decompile...
...
Also black, lint, and isort some
2023-06-30 20:30:06 -04:00
rocky
4b296e1ead
Correct generator function parsing for 3.3..3.5
2023-06-30 15:43:27 -04:00
rocky
36f00d334e
Revert last change.
2023-06-16 07:10:37 -04:00
rocky
b0086460de
Exit when version is not supported
2023-06-15 21:32:17 -04:00
rocky
7ad0c37c62
Correct a couple of bugs...
...
We weren't distinguising relative imports from absolute imports.
Fixes #444
Picking out docstring was broken too.
2023-04-17 16:35:27 -04:00
rocky
ad00b9a4ee
Use xdis pattr extraction for LOAD_NAME
2023-04-15 07:31:35 -04:00
rocky
931abc5726
self.opc.version -> self.opc.version_tuple
...
The next release of xdis will no longer support self.opc.version (a
float value which doesn't work in the presense of 3.10 and above)
2023-01-18 17:08:39 -05:00
rocky
9a7eb0ad0a
try to be more honest about MAKE_{FUNCTION,CLOSURE}
2023-01-16 01:45:37 -05:00
rocky
42d26ccbd7
Bump version
2023-01-14 06:21:12 -05:00
rocky
090570cd34
3.4-3.5 MAKE_CLOSURE with annotate
...
Docs lie about annnotation args. Slight adjustment here.
More is probably needed.
2023-01-14 02:20:59 -05:00
rocky
e8d4d383c6
pycharm lint, isort & black
2022-12-01 17:36:00 -05:00
rocky
9ecdf12667
Some small typos and lint
2022-11-03 12:27:55 -04:00
rocky
f9aa2410d1
More float -> tuple version corrections
2022-11-03 12:20:10 -04:00
rocky
d6dcaff240
Fixes #414
2022-11-03 12:02:34 -04:00
rocky
62760eb556
Deal with 2.x EXTENDED_ARGS on JUMP_ABSOLUTE
...
in scanner2's "continue" detection
Fixes #310
2022-09-18 21:12:27 -04:00
rocky
4b2a2e218a
Misc lint stuff from pycharm...
...
that has been applied to decompyle3 already
2022-09-16 15:38:13 -04:00
rocky
8f7f0be7fa
Administrivia
...
Workflows CI: go back to released versions rather than github versions
pyenv-newest-versions: updaed to use newest Python releases
pypy38.py: fix wrong package name import
3.6-exclude.sh: update and advance
2022-05-20 06:44:20 -04:00
rocky
656a9aa290
Bugs in 2.x relative import '.' and 1.x bytecode
2022-05-14 17:46:48 -04:00
rocky
223804ac1f
semi-black scanner26.py
2022-05-14 09:51:50 -04:00
rocky
3a9fa652b4
Partial sync of 3.7 & 3.8 scanner with decompyle3
2022-05-14 08:42:04 -04:00
rocky
cca015c5d6
Use LOAD_ARG in 3.6
2022-05-06 12:53:55 -04:00
rocky
f5043408ec
Start rolling in LOAD_ARG for 3.7+
2022-05-06 02:41:02 -04:00
rocky
9aba1cc3af
Bytecode 1.x fixes
2022-04-30 20:36:43 -04:00
rocky
eba0d37d0f
Improve Python 1.x decompiling
...
Still has bugs, but is much better.
2022-04-30 05:54:22 -04:00
rocky
f35231a6f5
Correct bug in long literal replacement for 2.6-7
2022-04-28 17:28:09 -04:00
rocky
8e5faa933f
Handle long 2.x bytecode literals more efficiently
2022-04-27 13:47:56 -04:00
rocky
cfd6166d8d
Small doc corrections
2022-04-27 05:07:07 -04:00
rocky
c25fa61e33
Start handling BUILD_MAP (a class of dict)
2022-04-26 15:37:42 -04:00
rocky
d48801964c
Use attr insead of pattrr for non-strings
2022-04-26 03:13:27 -04:00
rocky
4879a60ecc
Some bugs creating token stream ..
...
from instructions.
2022-04-25 17:39:39 -04:00
rocky
bf58fb9cf2
WIP - extend fast long-literals into older Python3
2022-04-25 08:06:46 -04:00
rocky
c6642f5899
Revise "ingest" docstring
2022-04-25 07:42:56 -04:00