capstone.h: note that in Skipdata mode, invalid instruction has id = 0

This commit is contained in:
Nguyen Anh Quynh 2014-10-12 15:29:12 +08:00
parent 29ce6c3517
commit fb429b1eba

View File

@ -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