mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Add basic opcode (disassembly) support for Python 3.11
This commit is contained in:
parent
a3e5ebd481
commit
9f1d0f2a21
11 changed files with 558 additions and 362 deletions
|
|
@ -36,6 +36,7 @@ DECLARE_PYTHON(3, 7)
|
|||
DECLARE_PYTHON(3, 8)
|
||||
DECLARE_PYTHON(3, 9)
|
||||
DECLARE_PYTHON(3, 10)
|
||||
DECLARE_PYTHON(3, 11)
|
||||
|
||||
const char* Pyc::OpcodeName(int opcode)
|
||||
{
|
||||
|
|
@ -103,6 +104,7 @@ int Pyc::ByteToOpcode(int maj, int min, int opcode)
|
|||
case 8: return python_38_map(opcode);
|
||||
case 9: return python_39_map(opcode);
|
||||
case 10: return python_310_map(opcode);
|
||||
case 11: return python_311_map(opcode);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue