Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make -j3 capstone #1347

Open
yorkyman opened this issue Jul 28, 2024 · 6 comments
Open

make -j3 capstone #1347

yorkyman opened this issue Jul 28, 2024 · 6 comments

Comments

@yorkyman
Copy link

Running into build error, anyone else getting this?

[  2%] Building CXX object src/libtriton/CMakeFiles/triton.dir/arch/arm/aarch64/aarch64Cpu.cpp.o
[  2%] Building CXX object src/libtriton/CMakeFiles/triton.dir/arch/arm/aarch64/aarch64Specifications.cpp.o
[  2%] Building CXX object src/libtriton/CMakeFiles/triton.dir/arch/arm/arm32/arm32Cpu.cpp.o
/opt/Triton/src/libtriton/arch/arm/arm32/arm32Cpu.cpp: In member function ‘virtual void triton::arch::arm::arm32::Arm32Cpu::disassembly(triton::arch::Instruction&)’:
/opt/Triton/src/libtriton/arch/arm/arm32/arm32Cpu.cpp:287:43: error: ‘triton::extlibs::capstone::cs_arm’ {aka ‘struct triton::extlibs::capstone::cs_arm’} has no member named ‘writeback’
  287 |             inst.setWriteBack(detail->arm.writeback);
      |                                           ^~~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp: In member function ‘void triton::arch::arm::aarch64::AArch64Cpu::disassInit()’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:54:77: error: ‘CS_ARCH_ARM64’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘CS_ARCH_ARM’?
   54 |           if (triton::extlibs::capstone::cs_open(triton::extlibs::capstone::CS_ARCH_ARM64, triton::extlibs::capstone::CS_MODE_ARM, &this->handle) != triton::extlibs::capstone::CS_ERR_OK)
      |                                                                             ^~~~~~~~~~~~~
      |                                                                             CS_ARCH_ARM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp: In member function ‘virtual void triton::arch::arm::aarch64::AArch64Cpu::disassembly(triton::arch::Instruction&)’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:396:25: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  396 |             if (detail->arm64.op_count)
      |                         ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:408:84: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  408 |             inst.setCodeCondition(this->capstoneConditionToTritonCondition(detail->arm64.cc));
      |                                                                                    ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:411:39: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  411 |             inst.setWriteBack(detail->arm64.writeback);
      |                                       ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:414:40: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  414 |             inst.setUpdateFlag(detail->arm64.update_flags);
      |                                        ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:420:52: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  420 |             for (triton::uint32 n = 0; n < detail->arm64.op_count; n++) {
      |                                                    ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:421:70: error: ‘triton::extlibs::capstone::cs_detail’ {aka ‘struct triton::extlibs::capstone::cs_detail’} has no member named ‘arm64’
  421 |               triton::extlibs::capstone::cs_arm64_op* op = &(detail->arm64.operands[n]);
      |                                                                      ^~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:474:31: warning: comparison between ‘triton::extlibs::capstone::aarch64_extender’ {aka ‘enum triton::extlibs::capstone::aarch64_extender’} and ‘enum triton::extlibs::capstone::arm64_extender’ [-Wenum-compare]
  474 |                   if (op->ext != triton::extlibs::capstone::ARM64_EXT_INVALID) {
      |                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:501:31: warning: comparison between ‘triton::extlibs::capstone::aarch64_extender’ {aka ‘enum triton::extlibs::capstone::aarch64_extender’} and ‘enum triton::extlibs::capstone::arm64_extender’ [-Wenum-compare]
  501 |                   if (op->ext != triton::extlibs::capstone::ARM64_EXT_INVALID) {
      |                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Cpu.cpp:521:49: error: ‘ARM64_OP_SYS’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_OP_SME’?
  521 |                 case triton::extlibs::capstone::ARM64_OP_SYS: {
      |                                                 ^~~~~~~~~~~~
      |                                                 ARM64_OP_SME
/opt/Triton/src/libtriton/includes/triton/aarch64.spec: In member function ‘triton::arch::register_e triton::arch::arm::aarch64::AArch64Specifications::capstoneRegisterToTritonRegister(triton::uint32) const’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V0’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z0’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:263:1: note: in expansion of macro ‘REG_SPEC’
  263 | REG_SPEC(V0,  v0,  triton::bitsize::dqword-1, 0, Q0,  TT_MUTABLE_REG) // v0
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V1’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z1’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:264:1: note: in expansion of macro ‘REG_SPEC’
  264 | REG_SPEC(V1,  v1,  triton::bitsize::dqword-1, 0, Q1,  TT_MUTABLE_REG) // v1
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V2’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z2’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:265:1: note: in expansion of macro ‘REG_SPEC’
  265 | REG_SPEC(V2,  v2,  triton::bitsize::dqword-1, 0, Q2,  TT_MUTABLE_REG) // v2
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V3’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z3’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:266:1: note: in expansion of macro ‘REG_SPEC’
  266 | REG_SPEC(V3,  v3,  triton::bitsize::dqword-1, 0, Q3,  TT_MUTABLE_REG) // v3
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V4’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z4’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:267:1: note: in expansion of macro ‘REG_SPEC’
  267 | REG_SPEC(V4,  v4,  triton::bitsize::dqword-1, 0, Q4,  TT_MUTABLE_REG) // v4
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V5’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z5’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:268:1: note: in expansion of macro ‘REG_SPEC’
  268 | REG_SPEC(V5,  v5,  triton::bitsize::dqword-1, 0, Q5,  TT_MUTABLE_REG) // v5
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V6’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z6’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:269:1: note: in expansion of macro ‘REG_SPEC’
  269 | REG_SPEC(V6,  v6,  triton::bitsize::dqword-1, 0, Q6,  TT_MUTABLE_REG) // v6
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V7’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z7’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:270:1: note: in expansion of macro ‘REG_SPEC’
  270 | REG_SPEC(V7,  v7,  triton::bitsize::dqword-1, 0, Q7,  TT_MUTABLE_REG) // v7
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V8’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z8’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:271:1: note: in expansion of macro ‘REG_SPEC’
  271 | REG_SPEC(V8,  v8,  triton::bitsize::dqword-1, 0, Q8,  TT_MUTABLE_REG) // v8
      | ^~~~~~~~
make[2]: *** [src/libtriton/CMakeFiles/triton.dir/build.make:132: src/libtriton/CMakeFiles/triton.dir/arch/arm/arm32/arm32Cpu.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V9’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z9’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:272:1: note: in expansion of macro ‘REG_SPEC’
  272 | REG_SPEC(V9,  v9,  triton::bitsize::dqword-1, 0, Q9,  TT_MUTABLE_REG) // v9
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V10’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z10’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:273:1: note: in expansion of macro ‘REG_SPEC’
  273 | REG_SPEC(V10, v10, triton::bitsize::dqword-1, 0, Q10, TT_MUTABLE_REG) // v10
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V11’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z11’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:274:1: note: in expansion of macro ‘REG_SPEC’
  274 | REG_SPEC(V11, v11, triton::bitsize::dqword-1, 0, Q11, TT_MUTABLE_REG) // v11
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V12’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z12’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:275:1: note: in expansion of macro ‘REG_SPEC’
  275 | REG_SPEC(V12, v12, triton::bitsize::dqword-1, 0, Q12, TT_MUTABLE_REG) // v12
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V13’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z13’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:276:1: note: in expansion of macro ‘REG_SPEC’
  276 | REG_SPEC(V13, v13, triton::bitsize::dqword-1, 0, Q13, TT_MUTABLE_REG) // v13
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V14’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z14’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:277:1: note: in expansion of macro ‘REG_SPEC’
  277 | REG_SPEC(V14, v14, triton::bitsize::dqword-1, 0, Q14, TT_MUTABLE_REG) // v14
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V15’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z15’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:278:1: note: in expansion of macro ‘REG_SPEC’
  278 | REG_SPEC(V15, v15, triton::bitsize::dqword-1, 0, Q15, TT_MUTABLE_REG) // v15
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V16’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z16’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:279:1: note: in expansion of macro ‘REG_SPEC’
  279 | REG_SPEC(V16, v16, triton::bitsize::dqword-1, 0, Q16, TT_MUTABLE_REG) // v16
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V17’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z17’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:280:1: note: in expansion of macro ‘REG_SPEC’
  280 | REG_SPEC(V17, v17, triton::bitsize::dqword-1, 0, Q17, TT_MUTABLE_REG) // v17
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V18’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z18’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:281:1: note: in expansion of macro ‘REG_SPEC’
  281 | REG_SPEC(V18, v18, triton::bitsize::dqword-1, 0, Q18, TT_MUTABLE_REG) // v18
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V19’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z19’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:282:1: note: in expansion of macro ‘REG_SPEC’
  282 | REG_SPEC(V19, v19, triton::bitsize::dqword-1, 0, Q19, TT_MUTABLE_REG) // v19
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V20’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z20’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:283:1: note: in expansion of macro ‘REG_SPEC’
  283 | REG_SPEC(V20, v20, triton::bitsize::dqword-1, 0, Q20, TT_MUTABLE_REG) // v20
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V21’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z21’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:284:1: note: in expansion of macro ‘REG_SPEC’
  284 | REG_SPEC(V21, v21, triton::bitsize::dqword-1, 0, Q21, TT_MUTABLE_REG) // v21
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V22’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z22’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:285:1: note: in expansion of macro ‘REG_SPEC’
  285 | REG_SPEC(V22, v22, triton::bitsize::dqword-1, 0, Q22, TT_MUTABLE_REG) // v22
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V23’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z23’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:286:1: note: in expansion of macro ‘REG_SPEC’
  286 | REG_SPEC(V23, v23, triton::bitsize::dqword-1, 0, Q23, TT_MUTABLE_REG) // v23
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V24’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z24’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:287:1: note: in expansion of macro ‘REG_SPEC’
  287 | REG_SPEC(V24, v24, triton::bitsize::dqword-1, 0, Q24, TT_MUTABLE_REG) // v24
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V25’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z25’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:288:1: note: in expansion of macro ‘REG_SPEC’
  288 | REG_SPEC(V25, v25, triton::bitsize::dqword-1, 0, Q25, TT_MUTABLE_REG) // v25
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V26’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z26’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:289:1: note: in expansion of macro ‘REG_SPEC’
  289 | REG_SPEC(V26, v26, triton::bitsize::dqword-1, 0, Q26, TT_MUTABLE_REG) // v26
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V27’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z27’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:290:1: note: in expansion of macro ‘REG_SPEC’
  290 | REG_SPEC(V27, v27, triton::bitsize::dqword-1, 0, Q27, TT_MUTABLE_REG) // v27
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V28’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z28’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:291:1: note: in expansion of macro ‘REG_SPEC’
  291 | REG_SPEC(V28, v28, triton::bitsize::dqword-1, 0, Q28, TT_MUTABLE_REG) // v28
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V29’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z29’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:292:1: note: in expansion of macro ‘REG_SPEC’
  292 | REG_SPEC(V29, v29, triton::bitsize::dqword-1, 0, Q29, TT_MUTABLE_REG) // v29
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V30’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z30’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:293:1: note: in expansion of macro ‘REG_SPEC’
  293 | REG_SPEC(V30, v30, triton::bitsize::dqword-1, 0, Q30, TT_MUTABLE_REG) // v30
      | ^~~~~~~~
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:49:45: error: ‘ARM64_REG_V31’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Z31’?
   49 |             case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME:    \
      |                                             ^~~~~~~~~~
/opt/Triton/src/libtriton/includes/triton/aarch64.spec:294:1: note: in expansion of macro ‘REG_SPEC’
  294 | REG_SPEC(V31, v31, triton::bitsize::dqword-1, 0, Q31, TT_MUTABLE_REG) // v31
      | ^~~~~~~~
make[2]: *** [src/libtriton/CMakeFiles/triton.dir/build.make:90: src/libtriton/CMakeFiles/triton.dir/arch/arm/aarch64/aarch64Cpu.cpp.o] Error 1
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp: In member function ‘triton::arch::arm::vas_e triton::arch::arm::aarch64::AArch64Specifications::capstoneVASToTritonVAS(triton::uint32) const’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:159:45: error: ‘ARM64_VAS_INVALID’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_INVALID’?
  159 |             case triton::extlibs::capstone::ARM64_VAS_INVALID:
      |                                             ^~~~~~~~~~~~~~~~~
      |                                             ARM64_INS_INVALID
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:163:45: error: ‘ARM64_VAS_16B’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_TSB’?
  163 |             case triton::extlibs::capstone::ARM64_VAS_16B:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_TSB
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:167:45: error: ‘ARM64_VAS_8B’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SB’?
  167 |             case triton::extlibs::capstone::ARM64_VAS_8B:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_SB
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:172:45: error: ‘ARM64_VAS_4B’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SB’?
  172 |             case triton::extlibs::capstone::ARM64_VAS_4B:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_SB
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:176:45: error: ‘ARM64_VAS_1B’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SB’?
  176 |             case triton::extlibs::capstone::ARM64_VAS_1B:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_SB
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:181:45: error: ‘ARM64_VAS_8H’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_H8’?
  181 |             case triton::extlibs::capstone::ARM64_VAS_8H:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_H8
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:185:45: error: ‘ARM64_VAS_4H’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_H4’?
  185 |             case triton::extlibs::capstone::ARM64_VAS_4H:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_H4
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:190:45: error: ‘ARM64_VAS_2H’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_H2’?
  190 |             case triton::extlibs::capstone::ARM64_VAS_2H:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_H2
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:194:45: error: ‘ARM64_VAS_1H’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_H1’?
  194 |             case triton::extlibs::capstone::ARM64_VAS_1H:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_H1
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:199:45: error: ‘ARM64_VAS_4S’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_S4’?
  199 |             case triton::extlibs::capstone::ARM64_VAS_4S:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_S4
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:203:45: error: ‘ARM64_VAS_2S’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_S2’?
  203 |             case triton::extlibs::capstone::ARM64_VAS_2S:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_S2
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:208:45: error: ‘ARM64_VAS_1S’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_S1’?
  208 |             case triton::extlibs::capstone::ARM64_VAS_1S:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_S1
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:213:45: error: ‘ARM64_VAS_2D’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_D2’?
  213 |             case triton::extlibs::capstone::ARM64_VAS_2D:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_D2
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:217:45: error: ‘ARM64_VAS_1D’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_D1’?
  217 |             case triton::extlibs::capstone::ARM64_VAS_1D:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_D1
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:222:45: error: ‘ARM64_VAS_1Q’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_REG_Q1’?
  222 |             case triton::extlibs::capstone::ARM64_VAS_1Q:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_REG_Q1
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp: In member function ‘triton::arch::arm::condition_e triton::arch::arm::aarch64::AArch64Specifications::capstoneConditionToTritonCondition(triton::uint32) const’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:240:45: error: ‘ARM64_CC_INVALID’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_OP_INVALID’?
  240 |             case triton::extlibs::capstone::ARM64_CC_INVALID:
      |                                             ^~~~~~~~~~~~~~~~
      |                                             ARM64_OP_INVALID
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:244:45: error: ‘ARM64_CC_AL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_AL’?
  244 |             case triton::extlibs::capstone::ARM64_CC_AL:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_AL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:248:45: error: ‘ARM64_CC_EQ’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_EQ’?
  248 |             case triton::extlibs::capstone::ARM64_CC_EQ:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_EQ
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:252:45: error: ‘ARM64_CC_GE’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_GE’?
  252 |             case triton::extlibs::capstone::ARM64_CC_GE:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_GE
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:256:45: error: ‘ARM64_CC_GT’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_GT’?
  256 |             case triton::extlibs::capstone::ARM64_CC_GT:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_GT
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:260:45: error: ‘ARM64_CC_HI’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_HI’?
  260 |             case triton::extlibs::capstone::ARM64_CC_HI:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_HI
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:264:45: error: ‘ARM64_CC_HS’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_HS’?
  264 |             case triton::extlibs::capstone::ARM64_CC_HS:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_HS
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:268:45: error: ‘ARM64_CC_LE’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_LE’?
  268 |             case triton::extlibs::capstone::ARM64_CC_LE:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_LE
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:272:45: error: ‘ARM64_CC_LO’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_LO’?
  272 |             case triton::extlibs::capstone::ARM64_CC_LO:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_LO
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:276:45: error: ‘ARM64_CC_LS’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_LS’?
  276 |             case triton::extlibs::capstone::ARM64_CC_LS:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_LS
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:280:45: error: ‘ARM64_CC_LT’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_LT’?
  280 |             case triton::extlibs::capstone::ARM64_CC_LT:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_LT
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:284:45: error: ‘ARM64_CC_MI’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_MI’?
  284 |             case triton::extlibs::capstone::ARM64_CC_MI:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_MI
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:288:45: error: ‘ARM64_CC_NE’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_NE’?
  288 |             case triton::extlibs::capstone::ARM64_CC_NE:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_NE
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:292:45: error: ‘ARM64_CC_PL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_PL’?
  292 |             case triton::extlibs::capstone::ARM64_CC_PL:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_PL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:296:45: error: ‘ARM64_CC_VC’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_VC’?
  296 |             case triton::extlibs::capstone::ARM64_CC_VC:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_VC
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:300:45: error: ‘ARM64_CC_VS’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64CC_VS’?
  300 |             case triton::extlibs::capstone::ARM64_CC_VS:
      |                                             ^~~~~~~~~~~
      |                                             ARM64CC_VS
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp: In member function ‘triton::uint32 triton::arch::arm::aarch64::AArch64Specifications::capstoneInstructionToTritonInstruction(triton::uint32) const’:
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2017:45: error: ‘ARM64_INS_MNEG’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_NEG’?
 2017 |             case triton::extlibs::capstone::ARM64_INS_MNEG:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_NEG
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2021:45: error: ‘ARM64_INS_UMNEGL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_UMULL’?
 2021 |             case triton::extlibs::capstone::ARM64_INS_UMNEGL:
      |                                             ^~~~~~~~~~~~~~~~
      |                                             ARM64_INS_UMULL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2025:45: error: ‘ARM64_INS_SMNEGL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SQNEG’?
 2025 |             case triton::extlibs::capstone::ARM64_INS_SMNEGL:
      |                                             ^~~~~~~~~~~~~~~~
      |                                             ARM64_INS_SQNEG
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2029:45: error: ‘ARM64_INS_NOP’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_NOT’?
 2029 |             case triton::extlibs::capstone::ARM64_INS_NOP:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_NOT
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2033:45: error: ‘ARM64_INS_YIELD’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SEL’?
 2033 |             case triton::extlibs::capstone::ARM64_INS_YIELD:
      |                                             ^~~~~~~~~~~~~~~
      |                                             ARM64_INS_SEL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2037:45: error: ‘ARM64_INS_WFE’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_WFET’?
 2037 |             case triton::extlibs::capstone::ARM64_INS_WFE:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_WFET
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2041:45: error: ‘ARM64_INS_WFI’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_WFIT’?
 2041 |             case triton::extlibs::capstone::ARM64_INS_WFI:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_WFIT
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2045:45: error: ‘ARM64_INS_SEV’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SEL’?
 2045 |             case triton::extlibs::capstone::ARM64_INS_SEV:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_SEL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2049:45: error: ‘ARM64_INS_SEVL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SEL’?
 2049 |             case triton::extlibs::capstone::ARM64_INS_SEVL:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_SEL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2053:45: error: ‘ARM64_INS_NGC’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SVC’?
 2053 |             case triton::extlibs::capstone::ARM64_INS_NGC:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_SVC
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2057:45: error: ‘ARM64_INS_SBFIZ’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SBFM’?
 2057 |             case triton::extlibs::capstone::ARM64_INS_SBFIZ:
      |                                             ^~~~~~~~~~~~~~~
      |                                             ARM64_INS_SBFM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2061:45: error: ‘ARM64_INS_UBFIZ’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_UBFM’?
 2061 |             case triton::extlibs::capstone::ARM64_INS_UBFIZ:
      |                                             ^~~~~~~~~~~~~~~
      |                                             ARM64_INS_UBFM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2065:45: error: ‘ARM64_INS_SBFX’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SBFM’?
 2065 |             case triton::extlibs::capstone::ARM64_INS_SBFX:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_SBFM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2069:45: error: ‘ARM64_INS_UBFX’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_UBFM’?
 2069 |             case triton::extlibs::capstone::ARM64_INS_UBFX:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_UBFM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2073:45: error: ‘ARM64_INS_BFI’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_BIF’?
 2073 |             case triton::extlibs::capstone::ARM64_INS_BFI:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_BIF
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2077:45: error: ‘ARM64_INS_BFXIL’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_BFMUL’?
 2077 |             case triton::extlibs::capstone::ARM64_INS_BFXIL:
      |                                             ^~~~~~~~~~~~~~~
      |                                             ARM64_INS_BFMUL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2081:45: error: ‘ARM64_INS_CMN’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_CCMN’?
 2081 |             case triton::extlibs::capstone::ARM64_INS_CMN:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_CCMN
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2085:45: error: ‘ARM64_INS_MVN’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_MVNI’?
 2085 |             case triton::extlibs::capstone::ARM64_INS_MVN:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_MVNI
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2089:45: error: ‘ARM64_INS_TST’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_TSB’?
 2089 |             case triton::extlibs::capstone::ARM64_INS_TST:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_TSB
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2093:45: error: ‘ARM64_INS_CSET’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_CSEL’?
 2093 |             case triton::extlibs::capstone::ARM64_INS_CSET:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_CSEL
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2097:45: error: ‘ARM64_INS_CINC’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_CSINC’?
 2097 |             case triton::extlibs::capstone::ARM64_INS_CINC:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_CSINC
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2101:45: error: ‘ARM64_INS_CSETM’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_SETM’?
 2101 |             case triton::extlibs::capstone::ARM64_INS_CSETM:
      |                                             ^~~~~~~~~~~~~~~
      |                                             ARM64_INS_SETM
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2105:45: error: ‘ARM64_INS_CINV’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_CSINV’?
 2105 |             case triton::extlibs::capstone::ARM64_INS_CINV:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_CSINV
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2109:45: error: ‘ARM64_INS_CNEG’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_NEG’?
 2109 |             case triton::extlibs::capstone::ARM64_INS_CNEG:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_NEG
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2125:45: error: ‘ARM64_INS_CMP’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_FCMP’?
 2125 |             case triton::extlibs::capstone::ARM64_INS_CMP:
      |                                             ^~~~~~~~~~~~~
      |                                             ARM64_INS_FCMP
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2141:45: error: ‘ARM64_INS_IC’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_BIC’?
 2141 |             case triton::extlibs::capstone::ARM64_INS_IC:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_BIC
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2145:45: error: ‘ARM64_INS_DC’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_BC’?
 2145 |             case triton::extlibs::capstone::ARM64_INS_DC:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_BC
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2149:45: error: ‘ARM64_INS_AT’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_XTN’?
 2149 |             case triton::extlibs::capstone::ARM64_INS_AT:
      |                                             ^~~~~~~~~~~~
      |                                             ARM64_INS_XTN
/opt/Triton/src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp:2153:45: error: ‘ARM64_INS_TLBI’ is not a member of ‘triton::extlibs::capstone’; did you mean ‘ARM64_INS_TSB’?
 2153 |             case triton::extlibs::capstone::ARM64_INS_TLBI:
      |                                             ^~~~~~~~~~~~~~
      |                                             ARM64_INS_TSB
make[2]: *** [src/libtriton/CMakeFiles/triton.dir/build.make:118: src/libtriton/CMakeFiles/triton.dir/arch/arm/aarch64/aarch64Specifications.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1126: src/libtriton/CMakeFiles/triton.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
@JonathanSalwan
Copy link
Owner

What version of capstone are you using?

@yorkyman
Copy link
Author

was using the clone stragiht from the github, guess that wasnt the latest. I'm using capstone 5.0.1 now and it going well until i hit another error.

My LLVM version = 18.1.3

In file included from /opt/Triton/src/libtriton/ast/llvm/tritonToLLVM.cpp:17:
/opt/Triton/src/libtriton/includes/triton/tritonToLLVM.hpp:24:10: fatal error: llvm/Transforms/IPO/PassManagerBuilder.h: No such file or directory
   24 | #include <llvm/Transforms/IPO/PassManagerBuilder.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/libtriton/CMakeFiles/triton.dir/build.make:902: src/libtriton/CMakeFiles/triton.dir/ast/llvm/tritonToLLVM.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1126: src/libtriton/CMakeFiles/triton.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@mrexodia
Copy link
Contributor

You need LLVM 15

@yorkyman
Copy link
Author

Just to confirm if it is this:

https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.0

@yorkyman
Copy link
Author

I change LLVM version to 15. Builds to around 87% and now receiving this error.

[ 84%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/objects/pySymbolicVariable.cpp.o
[ 85%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/objects/pyTritonContext.cpp.o
[ 86%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/pyXFunctions.cpp.o
make[2]: *** No rule to make target '/opt/capstone/include', needed by 'src/libtriton/libtriton.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 87%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/utils.cpp.o
make[1]: *** [CMakeFiles/Makefile2:1099: src/libtriton/CMakeFiles/triton.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@JonathanSalwan
Copy link
Owner

never seen this error... =/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants