Closed niansa closed 7 months ago
I am not sure I understand the problem. The id
is set to an enum value of type aarch64_insn
. In your example 815 == AArch64_INS_RET
.
Yup, that was the issue. Looks like I was looking at the wrong enum (the one for ARM, now AArch64...)
Thank you!
Hi!
On latest
next
, I am using the following code to disassemble aarch64 instructions:The
cs_insn
passed toprocess_instruction(const cs_insn& insn)
always has its'sid
field set to an out-of-range value like815
. Is this a bug? If not, what am I getting wrong here?I know for sure that what I am disassembling is valid ARM:
Thanks in advance