87 PyDict_Clear(registersDict);
93 #define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5, _6, _7, X86_AVAIL) \
95 xPyDict_SetItemString(x86RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_X86_##UPPER_NAME));
97 #define REG_SPEC_NO_CAPSTONE REG_SPEC
98 #include "triton/x86.spec"
107 #define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5, _6, _7, _8) \
108 xPyDict_SetItemString(x8664RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_X86_##UPPER_NAME));
110 #define REG_SPEC_NO_CAPSTONE REG_SPEC
111 #include "triton/x86.spec"
120 #define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5) \
121 xPyDict_SetItemString(aarch64RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_AARCH64_##UPPER_NAME));
123 #define REG_SPEC_NO_CAPSTONE REG_SPEC
124 #define SYS_REG_SPEC REG_SPEC
125 #include "triton/aarch64.spec"
134 #define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5) \
135 xPyDict_SetItemString(arm32RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_ARM32_##UPPER_NAME));
137 #define REG_SPEC_NO_CAPSTONE REG_SPEC
138 #include "triton/arm32.spec"
148 #define REG_SPEC(_0, UPPER_NAME, _1, _2, _3, _4, _5) \
149 xPyDict_SetItemString(riscv64RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_RV64_##UPPER_NAME));
151 #define REG_SPEC_NO_CAPSTONE REG_SPEC
152 #define SYS_REG_SPEC REG_SPEC
153 #include "triton/riscv64.spec"
162 #define REG_SPEC(_0, UPPER_NAME, _1, _2, _3, _4, _5) \
163 xPyDict_SetItemString(riscv32RegistersDict, #UPPER_NAME, PyLong_FromUint32(triton::arch::ID_REG_RV32_##UPPER_NAME));
165 #define REG_SPEC_NO_CAPSTONE REG_SPEC
166 #define SYS_REG_SPEC REG_SPEC
167 #include "triton/riscv32.spec"