7560149895
Ensure there is always space after the opcode (some opcode names are longer than 30 characters now)
Michael Hansen
2023-12-06 11:38:03 -08:00
ab6aaf6da3
Convert opcode maps to C++ source with macros.
Michael Hansen
2023-12-05 14:29:33 -08:00
20ac52d801
Remove PythonBytecode.txt.
Michael Hansen
2023-12-05 13:43:50 -08:00
0c0e3597bd
Add version and parameter info to bytecode_ops.inl
Michael Hansen
2023-12-05 13:24:00 -08:00
795ad1861d
Also show the first line when using --pycode-extra
Michael Hansen
2023-11-30 12:49:04 -08:00
74b8f7eec7
Move LOAD_SUPER_ATTR cases closer to other name cases
Michael Hansen
2023-11-30 12:37:29 -08:00
b424ae8fd7
Refactor disassembly operand formatting to remove single-use functions.
Michael Hansen
2023-11-30 10:16:00 -08:00
9c00554efb
Add basic support for some Instrumented opcodes which should match their non-instrumented versions.
Michael Hansen
2023-11-18 17:59:24 -08:00
9d1e156cec
Correctly decode operand types for many newer opcodes in disassembly
Michael Hansen
2023-11-18 17:45:35 -08:00
a86a6eb54f
Fix a couple of incorrect instructions in Python 3.1
Michael Hansen
2023-11-18 17:44:36 -08:00
3ffbb0aa20
Fix some incorrect opcode tables from Python 1.0-1.4
Michael Hansen
2023-11-16 14:51:40 -08:00
4ecdd1f81b
Remove unused python_NN_unmap() functions
Michael Hansen
2023-11-16 11:27:31 -08:00
0c6128a895
Add missing ACCESS_MODE opcode from Python 1.0-1.4
Michael Hansen
2023-11-16 10:44:42 -08:00
57e16d19d1
Refactor bc_next to more clearly split pre- and post-3.6 behavior
Michael Hansen
2023-11-14 12:09:01 -08:00
b1a8563126
Merge pull request #378 from LNSSPsd/master
Michael Hansen
2023-08-26 10:52:26 -07:00
9711a4abe5
Fix the pointer's behavior on getting buffer
Ruphane
2023-08-25 18:00:26 -07:00
f5c1d4262b
Move comment closer to where it applies, plus some formatting consistency
Michael Hansen
2023-08-19 21:24:03 -07:00
916103179c
Fix LOAD_GLOBAL_A operand printing for versions prior to 3.11
Roman Avdeenko
2023-08-19 17:43:04 +03:00
da859f5a2b
Added support for opcodes: (in DESC)
MrDakik
2023-07-18 18:33:03 +03:00
bb54b27cd1
Move cmake_minimum_required to the top of CMakeLists, so it correctly affects everything else below it
Michael Hansen
2023-06-20 13:28:00 -07:00
753d42d94a
Simplify string object printing to reduce code duplication
Michael Hansen
2023-06-09 09:09:03 -07:00
4b4f9f8edb
Fix impossible condition in pycdas Code dump
Michael Hansen
2023-06-08 14:30:09 -07:00
32a0aec535
Use raw string literals to improve readability in OutputString
Michael Hansen
2023-06-06 11:20:32 -07:00
bf3599c87a
Move some output stream parameters forward.
Michael Hansen
2023-06-05 13:56:25 -07:00
46ea76c0e9
Clean up file handling in main()s, and remove a leak
Michael Hansen
2023-06-05 13:54:26 -07:00
8bb8386764
Fix some issues with formatted_print:
Michael Hansen
2023-06-05 13:49:04 -07:00
482c32d84e
Merge commit 'c4c35fc5318b904d5141a7f3c4a70d80576c30da'
Michael Hansen
2023-06-05 11:18:20 -07:00
72c5f87793
Fix range of supported versions for marshalled files
Michael Hansen
2023-06-04 09:16:31 -07:00
c4c35fc531
Use C++ streams over C style IO
Perceval Wajsbürt
2023-06-02 00:36:58 +02:00
409f175827
Reduce code duplication for pre-3.11 binary ops, based on #348
Michael Hansen
2023-06-01 13:55:17 -07:00
90815b47ca
Squash merge of #348
Michael Hansen
2023-06-01 13:18:22 -07:00
ee934a1e99
Show binary ops from Python 3.11 in disassembly
Michael Hansen
2023-05-30 14:45:22 -07:00
0710ea07f1
Fix missing includes, which fixes build on GCC 13+
Michael Hansen
2023-05-07 13:28:10 -07:00
c8156739f1
Merge pull request #344 from seashell11234455/master
Michael Hansen
2023-04-27 08:51:58 -07:00