mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 21:49:46 +00:00
Initializes to 0 X86 immediateOffset (#1192)
This commit is contained in:
parent
c956cc0631
commit
0aa4e76b8e
@ -610,6 +610,11 @@ typedef struct InternalInstruction {
|
||||
/* The value of the vector extension prefix(EVEX/VEX/XOP), if present */
|
||||
uint8_t vectorExtensionPrefix[4];
|
||||
|
||||
/* Offsets from the start of the instruction to the pieces of data, which is
|
||||
needed to find relocation entries for adding symbolic operands */
|
||||
uint8_t displacementOffset;
|
||||
uint8_t immediateOffset;
|
||||
|
||||
// end-of-zero-members
|
||||
|
||||
/* Reader interface (C) */
|
||||
@ -651,11 +656,6 @@ typedef struct InternalInstruction {
|
||||
|
||||
uint8_t immSize; // immediate size for X86_OP_IMM operand
|
||||
|
||||
/* Offsets from the start of the instruction to the pieces of data, which is
|
||||
needed to find relocation entries for adding symbolic operands */
|
||||
uint8_t displacementOffset;
|
||||
uint8_t immediateOffset;
|
||||
|
||||
/* opcode state */
|
||||
|
||||
/* The last byte of the opcode, not counting any ModR/M extension */
|
||||
|
Loading…
Reference in New Issue
Block a user