Commit Graph

30 Commits

Author SHA1 Message Date
Michael Hansen
dc6ca4ae36 Remove additional specialized opcode that wasn't ordered with the others 2024-08-12 11:39:36 -07:00
Michael Hansen
19f8372358 Remove specialized opcodes.
They are used at runtime, and not written to .pyc / .pyo objects.
2024-08-12 11:24:07 -07:00
Michael Hansen
b939aeb87c Update operand documentation for new opcodes and oparg changes.
Also extends the disassembly oparg decoding for new 3.13 additions.
2024-08-07 15:44:36 -07:00
Alex
75de28decc Python 3.13 initial support (#497)
* Support for JUMP_BACKWARD

* Initial support for Python 3.13

* Remove opcode from another old PR, not needed in the current one

* Update bytes/python_3_13.cpp

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update bytecode_ops.inl

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update .gitignore

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update bytecode_ops.inl

---------

Co-authored-by: Michael Hansen <zrax0111@gmail.com>
2024-08-07 15:39:40 -07:00
Michael Hansen
ab6aaf6da3 Convert opcode maps to C++ source with macros.
This removes the requirement to run a python script to preprocess the
input files before compiling pycdas/pycdc.
2023-12-05 14:30:33 -08:00
Michael Hansen
a86a6eb54f Fix a couple of incorrect instructions in Python 3.1 2023-11-18 17:44:36 -08:00
Michael Hansen
3ffbb0aa20 Fix some incorrect opcode tables from Python 1.0-1.4
The dis.py from these versions was often out-of-date from the C source.
2023-11-16 14:51:42 -08:00
Michael Hansen
4ecdd1f81b Remove unused python_NN_unmap() functions 2023-11-16 11:27:31 -08:00
Michael Hansen
0c6128a895 Add missing ACCESS_MODE opcode from Python 1.0-1.4 2023-11-16 11:16:46 -08:00
Michael Hansen
9b384ad1fa Add basic bytecode and disassembly support for Python 3.12 2023-11-09 12:17:03 -08:00
Michael Hansen
9f1d0f2a21 Add basic opcode (disassembly) support for Python 3.11 2023-01-19 11:32:07 -08:00
GawdOfROFL
8245b79989 add RERAISE_A 2021-10-10 14:58:46 +05:30
GawdOfROFL
43667f0bae make requested changes 2021-10-10 06:48:34 +05:30
GawdOfROFL
728309e7f8 add newline 2021-10-10 00:57:37 +05:30
GawdOfROFL
e4e3a9f4ed added python 3.10 support 2021-10-10 00:52:41 +05:30
Michael Hansen
8460d119fd Add bytecode support for Python 3.9 rc2 2020-09-29 09:28:15 -07:00
Michael Hansen
428d11c4b5 Add bytecode and disassembly support for Python 3.8.
Also fixes running pymultic from outside of its source directory.
2019-10-14 14:48:26 -07:00
Michael Hansen
0c3955883f Fix bytecode compatibility with Python 3.7 beta3 2018-04-26 14:38:02 -07:00
Michael Hansen
98ad031109 Add initial 3.7 alpha support, and fix 3.6 opcode map 2017-12-20 13:49:28 -08:00
Michael Hansen
605d064fe7 Initial support for Python 3.6 disassembly 2016-06-22 22:06:09 -07:00
Michael Hansen
aea5b2dab1 Forgot to add .map file 2015-10-01 17:00:31 -07:00
Michael Hansen
5fae3e2d1f Add Python 3.5 disassembly support 2015-10-01 16:06:09 -07:00
Michael Hansen
4d21654134 Switch build system to CMake 2014-06-10 19:20:56 -07:00
Michael Hansen
6ecbcfb564 Add documentation and initial framework for Python 3.4 support 2013-11-27 14:10:05 -08:00
Michael Hansen
404993fb3c Fix comp_map.py for Python 3.x (Closes #26) 2013-03-01 17:22:32 -08:00
Michael Hansen
50657fb984 Preview of Python 3.3 support 2012-05-26 14:09:52 -07:00
Michael Hansen
3fb340ccd8 Further cleanup and proper sorting of generated bytecode map files 2012-05-26 13:10:46 -07:00
Michael Hansen
285bba5444 Fix comp_map.py to work with ancient versions of Python. Closes #16 2012-05-23 18:49:13 -07:00
Michael Hansen
be6ea32619 Add Python 3.2 support 2011-01-06 17:15:48 -08:00
Michael Hansen
1161c8de26 Use opcode mappings to keep things a bit cleaner and hopefully more sane 2010-09-04 01:20:41 -07:00