Skip to content

Commit

Permalink
Update all *_const.py
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed Jun 23, 2023
1 parent 4241fee commit 935acd1
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/const_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'comment_close': '',
},
'python': {
'header': "from .__init__ import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OPT_MEM\n"
'header': "from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM\n"
"# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [%s_const.py]\n",
'footer': "",
'line_format': '%s = %s\n',
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/arm64_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [arm64_const.py]

ARM64_SFT_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/arm_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [arm_const.py]

ARM_SFT_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/bpf_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [bpf_const.py]

BPF_OP_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/evm_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [evm_const.py]

EVM_INS_STOP = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/m680x_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [m680x_const.py]
M680X_OPERAND_COUNT = 9

Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/m68k_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [m68k_const.py]
M68K_OPERAND_COUNT = 4

Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/mips_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [mips_const.py]

MIPS_OP_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/mos65xx_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [mos65xx_const.py]

MOS65XX_REG_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/ppc_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [ppc_const.py]

PPC_BC_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/riscv_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [riscv_const.py]

# Operand type for instruction's operands
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/sparc_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [sparc_const.py]

SPARC_CC_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/sysz_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [sysz_const.py]

SYSZ_CC_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/tms320c64x_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [tms320c64x_const.py]

TMS320C64X_OP_INVALID = 0
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/capstone/tricore_const.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from .__init__ import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OPT_MEM
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [tricore_const.py]
TRICORE_OP_INVALID = CS_OP_INVALID
TRICORE_OP_REG = CS_OP_REG
TRICORE_OP_IMM = CS_OP_IMM
TRICORE_OP_MEM = CS_OPT_MEM
TRICORE_OP_MEM = CS_OP_MEM
TRICORE_OP_COUNT = 8

TRICORE_REG_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/wasm_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [wasm_const.py]

WASM_OP_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/x86_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [x86_const.py]

X86_REG_INVALID = 0
Expand Down
1 change: 1 addition & 0 deletions bindings/python/capstone/xcore_const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import CS_OP_INVALID, CS_OP_REG, CS_OP_IMM, CS_OP_MEM
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [xcore_const.py]

XCORE_OP_INVALID = 0
Expand Down

0 comments on commit 935acd1

Please sign in to comment.