x86: add @rex to cs_x86 struct. updated python & java binding for this change
diff --git a/include/x86.h b/include/x86.h
index 50e0648..a56de3e 100644
--- a/include/x86.h
+++ b/include/x86.h
@@ -188,9 +188,12 @@
// Instruction opcode, wich can be from 1 to 3 bytes in size.
// This contains VEX opcode as well.
- // An opcode byte gets value 0 when irrelevant.
+ // An trailing opcode byte gets value 0 when irrelevant.
uint8_t opcode[4];
+ // REX prefix: only a non-zero value is relavant for x86_64
+ uint8_t rex;
+
// Address size, which can be overrided with above prefix[5].
uint8_t addr_size;