|
Zydis
v2.0.0-alpha2
|
Defines the ZydisDecodedOperand struct.
More...
#include <DecoderTypes.h>
Data Fields | |
| uint8_t | id |
| The operand-id. More... | |
| ZydisOperandType | type |
| The type of the operand. More... | |
| ZydisOperandVisibility | visibility |
| The visibility of the operand. More... | |
| ZydisOperandAction | action |
| The operand-action. More... | |
| ZydisOperandEncoding | encoding |
| The operand-encoding. More... | |
| uint16_t | size |
| The logical size of the operand (in bits). More... | |
| ZydisElementType | elementType |
| The element-type. More... | |
| ZydisElementSize | elementSize |
| The size of a single element. More... | |
| uint16_t | elementCount |
| The number of elements. More... | |
| struct { | |
| ZydisRegister value | |
| The register value. More... | |
| } | reg |
| Extended info for register-operands. More... | |
| struct { | |
| ZydisBool isAddressGenOnly | |
| Signals, if the memory operand is only used for address generation. More... | |
| ZydisRegister segment | |
| The segment register. More... | |
| ZydisRegister base | |
| The base register. More... | |
| ZydisRegister index | |
| The index register. More... | |
| uint8_t scale | |
| The scale factor. More... | |
| struct { | |
| ZydisBool hasDisplacement | |
| Signals, if the displacement value is used. More... | |
| int64_t value | |
| The displacement value. More... | |
| } disp | |
| Extended info for memory-operands with displacement. More... | |
| } | mem |
| Extended info for memory-operands. More... | |
| struct { | |
| uint16_t segment | |
| uint32_t offset | |
| } | ptr |
| Extended info for pointer-operands. More... | |
| struct { | |
| ZydisBool isSigned | |
| Signals, if the immediate value is signed. More... | |
| ZydisBool isRelative | |
| Signals, if the immediate value contains a relative offset. More... | |
| union { | |
| uint64_t u | |
| int64_t s | |
| } value | |
| The immediate value. More... | |
| } | imm |
| Extended info for immediate-operands. More... | |
Defines the ZydisDecodedOperand struct.
| ZydisOperandAction action |
The operand-action.
| ZydisRegister base |
The base register.
| struct { ... } disp |
Extended info for memory-operands with displacement.
| uint16_t elementCount |
The number of elements.
| ZydisElementSize elementSize |
The size of a single element.
| ZydisElementType elementType |
The element-type.
| ZydisOperandEncoding encoding |
The operand-encoding.
| ZydisBool hasDisplacement |
Signals, if the displacement value is used.
| uint8_t id |
The operand-id.
| struct { ... } imm |
Extended info for immediate-operands.
| ZydisRegister index |
The index register.
| ZydisBool isAddressGenOnly |
Signals, if the memory operand is only used for address generation.
| ZydisBool isRelative |
Signals, if the immediate value contains a relative offset.
You can use ZydisCalcAbsoluteAddress to determine the absolute address value.
| ZydisBool isSigned |
Signals, if the immediate value is signed.
| struct { ... } mem |
Extended info for memory-operands.
| uint32_t offset |
| struct { ... } ptr |
Extended info for pointer-operands.
| struct { ... } reg |
Extended info for register-operands.
| int64_t s |
| uint8_t scale |
The scale factor.
| ZydisRegister segment |
The segment register.
| uint16_t segment |
| uint16_t size |
The logical size of the operand (in bits).
| ZydisOperandType type |
The type of the operand.
| uint64_t u |
| ZydisRegister value |
The register value.
| int64_t value |
The displacement value.
| union { ... } value |
The immediate value.
| ZydisOperandVisibility visibility |
The visibility of the operand.