5af28808 Update Auto-Sync to Python 3.13 and tree-sitter-py 24.0 (#2705) 99f018ac Python binding: (#2742) a07baf83 Auto-Sync update Sparc LLVM-18 (#2704) 81c5c93d Enable to generate legacy MC tests for the fuzzer. (#2733) a25d4980 Add warning about naive search and replace to patch reg names. (#2728) 7ac87d17 Print immediate only memory operands for AArch64. (#2732) c34034c8 Add x30 implicit read to the RET alias. (#2739) 95a4ca3e Update source list before installing valgrind. (#2730) 6909724e Make assertion hit warnings optional in release builds. (#2729) fe6bdc6e Make SStream respect the CS_OPT_UNSIGNED flag. (#2723) 21ce3624 Use cs_ac_type for operand access mode in all arches and use cs_xtensa_op_type for Xtensa operand type (#2721) df26583f clang-format: change license to BSD-3-Clause (#2724) 280b749e Remove unused files. (#2709) 87908ece Add flag for the SoftFail case of the LLVM disassembler. (#2707) efc0ba44 Fix missing operand for smstart, due to space replaced by tab (#2720) 2ae64133 Fix missing sp register read in ret instruction (#2719) 8df252a6 Fix arm pop reg access (#2718) 14612272 ARM: fix typo, cspr -> cpsr (#2716) f2f0a3c3 Fix LoongArch ld/st instructions register info (#2701) 829be2bf LoongArch: Compute absolute address for address operand (#2699) 42fbce6c Add jump group for generic jirl (#2698) fc525c73 Apple AArch64 proprietary (#2692) 895f2f2e Build PDB for debugging on Windows (#2685) 5c3aef03 Version: Update to v6.0.0-alpha4 (#2682) 106f7d3b Update read/written registers for x87 comparison instructions (#2680) ebe3ef2a Add workflow for building on Windows (#2675) 72f7d305 Revert "Add a script to compare the inc file content with the latest generate…" (#2678) 5b5c5ed8 Fix nanomips decoding of jalrc (#2672) ae03cca4 Mips32r6_64r632 is for both mips32r6 and mips64r6 (#2673) 21178aea Add a script to compare the inc file content with the latest generated ones. (#2667) 81a6ba03 MIPS: Fix MIPS16 decoding, wrong flags and ghost registers (#2665) 98a393e3 Stringify BH fields when printing ppc details (#2663) 2607d0f3 Remove undefined constants in riscv_const.py (#2660) (#2661) 5058c634 Decode BH field in print_insn_detail_ppc (#2662) 6461ed08 Add Call group to svc, smc and hvc. (#2651) e2f1dc8d Tms32c64x Little Endian (#2648) 5464c91d Fix build for compilers requiring explicit static for inline functions.. (#2645) bb2f6579 Enhance shift value and types of shift instructions. (#2638) cd282ef5 Update operand type enums of all arch modules to the one in `capstone.h` (#2633) dc0c0909 cmake: Fix building capstone as sub-project (#2629) cd8dd20c - Added missing files for sdist archive (#2624) 9affd99b Give the user some guidance where to add missing enumeration values. (#2639) 1bea3fab Add checks for MIPS details on cstest_py (#2640) ace8056c Add aliases mapping for MIPS & test for id, alias_id (#2635) 1abe1868 Build Tarball before DEB/RPM package. (#2627) 0a012190 Switch to ubuntu-24.04-arm runner image (#2625) 4e0b8c48 Fix wrong version requirement of tricore instructions: (#2620) 8ac2843b chore(version): Update Version to 6.0.0-Alpha3 (#2616) d7ef910b Rebased #2570 (#2614) c831cd5e Fix SystemZ macro in Makefile (#2603) 30601176 Apply new EVM opcode updates (#2602) 3c4d7fc8 Add tricore tc1.8 instructions (#2595) 5f290cad Create debian and rpm package on releases (#2590) 0f09210a delete travis (#2600) 5c5f756f Downgrade labeler to v4 due to https://github.com/actions/labeler/issues/710. (#2598) git-subtree-dir: external/capstone git-subtree-split: 5af288083e9f03e32723f9708c305692f866b666
165 lines
3.4 KiB
Python
165 lines
3.4 KiB
Python
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_FP, CS_OP_PRED, CS_OP_SPECIAL, CS_OP_MEM, CS_OP_MEM_REG, CS_OP_MEM_IMM, UINT16_MAX, UINT8_MAX
|
|
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [evm_const.py]
|
|
|
|
EVM_INS_STOP = 0
|
|
EVM_INS_ADD = 1
|
|
EVM_INS_MUL = 2
|
|
EVM_INS_SUB = 3
|
|
EVM_INS_DIV = 4
|
|
EVM_INS_SDIV = 5
|
|
EVM_INS_MOD = 6
|
|
EVM_INS_SMOD = 7
|
|
EVM_INS_ADDMOD = 8
|
|
EVM_INS_MULMOD = 9
|
|
EVM_INS_EXP = 10
|
|
EVM_INS_SIGNEXTEND = 11
|
|
EVM_INS_LT = 16
|
|
EVM_INS_GT = 17
|
|
EVM_INS_SLT = 18
|
|
EVM_INS_SGT = 19
|
|
EVM_INS_EQ = 20
|
|
EVM_INS_ISZERO = 21
|
|
EVM_INS_AND = 22
|
|
EVM_INS_OR = 23
|
|
EVM_INS_XOR = 24
|
|
EVM_INS_NOT = 25
|
|
EVM_INS_BYTE = 26
|
|
EVM_INS_SHL = 27
|
|
EVM_INS_SHR = 28
|
|
EVM_INS_SAR = 29
|
|
EVM_INS_SHA3 = 32
|
|
EVM_INS_ADDRESS = 48
|
|
EVM_INS_BALANCE = 49
|
|
EVM_INS_ORIGIN = 50
|
|
EVM_INS_CALLER = 51
|
|
EVM_INS_CALLVALUE = 52
|
|
EVM_INS_CALLDATALOAD = 53
|
|
EVM_INS_CALLDATASIZE = 54
|
|
EVM_INS_CALLDATACOPY = 55
|
|
EVM_INS_CODESIZE = 56
|
|
EVM_INS_CODECOPY = 57
|
|
EVM_INS_GASPRICE = 58
|
|
EVM_INS_EXTCODESIZE = 59
|
|
EVM_INS_EXTCODECOPY = 60
|
|
EVM_INS_RETURNDATASIZE = 61
|
|
EVM_INS_RETURNDATACOPY = 62
|
|
EVM_INS_BLOCKHASH = 64
|
|
EVM_INS_COINBASE = 65
|
|
EVM_INS_TIMESTAMP = 66
|
|
EVM_INS_NUMBER = 67
|
|
EVM_INS_DIFFICULTY = 68
|
|
EVM_INS_GASLIMIT = 69
|
|
EVM_INS_CHAINID = 70
|
|
EVM_INS_SELFBALANCE = 71
|
|
EVM_INS_BASEFEE = 72
|
|
EVM_INS_BLOBHASH = 73
|
|
EVM_INS_BLOBBASEFEE = 74
|
|
EVM_INS_POP = 80
|
|
EVM_INS_MLOAD = 81
|
|
EVM_INS_MSTORE = 82
|
|
EVM_INS_MSTORE8 = 83
|
|
EVM_INS_SLOAD = 84
|
|
EVM_INS_SSTORE = 85
|
|
EVM_INS_JUMP = 86
|
|
EVM_INS_JUMPI = 87
|
|
EVM_INS_PC = 88
|
|
EVM_INS_MSIZE = 89
|
|
EVM_INS_GAS = 90
|
|
EVM_INS_JUMPDEST = 91
|
|
EVM_INS_TLOAD = 92
|
|
EVM_INS_TSTORE = 93
|
|
EVM_INS_MCOPY = 94
|
|
EVM_INS_PUSH0 = 95
|
|
EVM_INS_PUSH1 = 96
|
|
EVM_INS_PUSH2 = 97
|
|
EVM_INS_PUSH3 = 98
|
|
EVM_INS_PUSH4 = 99
|
|
EVM_INS_PUSH5 = 100
|
|
EVM_INS_PUSH6 = 101
|
|
EVM_INS_PUSH7 = 102
|
|
EVM_INS_PUSH8 = 103
|
|
EVM_INS_PUSH9 = 104
|
|
EVM_INS_PUSH10 = 105
|
|
EVM_INS_PUSH11 = 106
|
|
EVM_INS_PUSH12 = 107
|
|
EVM_INS_PUSH13 = 108
|
|
EVM_INS_PUSH14 = 109
|
|
EVM_INS_PUSH15 = 110
|
|
EVM_INS_PUSH16 = 111
|
|
EVM_INS_PUSH17 = 112
|
|
EVM_INS_PUSH18 = 113
|
|
EVM_INS_PUSH19 = 114
|
|
EVM_INS_PUSH20 = 115
|
|
EVM_INS_PUSH21 = 116
|
|
EVM_INS_PUSH22 = 117
|
|
EVM_INS_PUSH23 = 118
|
|
EVM_INS_PUSH24 = 119
|
|
EVM_INS_PUSH25 = 120
|
|
EVM_INS_PUSH26 = 121
|
|
EVM_INS_PUSH27 = 122
|
|
EVM_INS_PUSH28 = 123
|
|
EVM_INS_PUSH29 = 124
|
|
EVM_INS_PUSH30 = 125
|
|
EVM_INS_PUSH31 = 126
|
|
EVM_INS_PUSH32 = 127
|
|
EVM_INS_DUP1 = 128
|
|
EVM_INS_DUP2 = 129
|
|
EVM_INS_DUP3 = 130
|
|
EVM_INS_DUP4 = 131
|
|
EVM_INS_DUP5 = 132
|
|
EVM_INS_DUP6 = 133
|
|
EVM_INS_DUP7 = 134
|
|
EVM_INS_DUP8 = 135
|
|
EVM_INS_DUP9 = 136
|
|
EVM_INS_DUP10 = 137
|
|
EVM_INS_DUP11 = 138
|
|
EVM_INS_DUP12 = 139
|
|
EVM_INS_DUP13 = 140
|
|
EVM_INS_DUP14 = 141
|
|
EVM_INS_DUP15 = 142
|
|
EVM_INS_DUP16 = 143
|
|
EVM_INS_SWAP1 = 144
|
|
EVM_INS_SWAP2 = 145
|
|
EVM_INS_SWAP3 = 146
|
|
EVM_INS_SWAP4 = 147
|
|
EVM_INS_SWAP5 = 148
|
|
EVM_INS_SWAP6 = 149
|
|
EVM_INS_SWAP7 = 150
|
|
EVM_INS_SWAP8 = 151
|
|
EVM_INS_SWAP9 = 152
|
|
EVM_INS_SWAP10 = 153
|
|
EVM_INS_SWAP11 = 154
|
|
EVM_INS_SWAP12 = 155
|
|
EVM_INS_SWAP13 = 156
|
|
EVM_INS_SWAP14 = 157
|
|
EVM_INS_SWAP15 = 158
|
|
EVM_INS_SWAP16 = 159
|
|
EVM_INS_LOG0 = 160
|
|
EVM_INS_LOG1 = 161
|
|
EVM_INS_LOG2 = 162
|
|
EVM_INS_LOG3 = 163
|
|
EVM_INS_LOG4 = 164
|
|
EVM_INS_CREATE = 240
|
|
EVM_INS_CALL = 241
|
|
EVM_INS_CALLCODE = 242
|
|
EVM_INS_RETURN = 243
|
|
EVM_INS_DELEGATECALL = 244
|
|
EVM_INS_CREATE2 = 245
|
|
EVM_INS_STATICCALL = 250
|
|
EVM_INS_REVERT = 253
|
|
EVM_INS_INVALID = 254
|
|
EVM_INS_SELFDESTRUCT = 255
|
|
EVM_INS_ENDING = 256
|
|
|
|
EVM_GRP_INVALID = 0
|
|
EVM_GRP_JUMP = 1
|
|
EVM_GRP_MATH = 8
|
|
EVM_GRP_STACK_WRITE = 9
|
|
EVM_GRP_STACK_READ = 10
|
|
EVM_GRP_MEM_WRITE = 11
|
|
EVM_GRP_MEM_READ = 12
|
|
EVM_GRP_STORE_WRITE = 13
|
|
EVM_GRP_STORE_READ = 14
|
|
EVM_GRP_HALT = 15
|
|
EVM_GRP_ENDING = 16
|