mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-14 17:08:39 +00:00
capstone.h: note that in Skipdata mode, invalid instruction has id = 0
This commit is contained in:
parent
29ce6c3517
commit
fb429b1eba
@ -210,6 +210,7 @@ typedef struct cs_insn {
|
||||
// Find the instruction id from header file of corresponding architecture,
|
||||
// such as arm.h for ARM, x86.h for X86, etc...
|
||||
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF
|
||||
// NOTE: in Skipdata mode, "data" instruction has 0 for this id field.
|
||||
unsigned int id;
|
||||
|
||||
// Address (EIP) of this instruction
|
||||
|
Loading…
Reference in New Issue
Block a user