32 #ifndef ZYDIS_INSTRUCTIONINFO_H 33 #define ZYDIS_INSTRUCTIONINFO_H 35 #include <Zycore/Types.h> 66 #define ZYDIS_OATTRIB_IS_MULTISOURCE4 0x01 // (1 << 0) 77 ZYDIS_MEMOP_TYPE_INVALID,
282 #define ZYDIS_CPUFLAG_CF (1ul << 0) 286 #define ZYDIS_CPUFLAG_PF (1ul << 2) 290 #define ZYDIS_CPUFLAG_AF (1ul << 4) 294 #define ZYDIS_CPUFLAG_ZF (1ul << 6) 298 #define ZYDIS_CPUFLAG_SF (1ul << 7) 302 #define ZYDIS_CPUFLAG_TF (1ul << 8) 306 #define ZYDIS_CPUFLAG_IF (1ul << 9) 310 #define ZYDIS_CPUFLAG_DF (1ul << 10) 314 #define ZYDIS_CPUFLAG_OF (1ul << 11) 318 #define ZYDIS_CPUFLAG_IOPL (1ul << 12) 322 #define ZYDIS_CPUFLAG_NT (1ul << 14) 326 #define ZYDIS_CPUFLAG_RF (1ul << 16) 330 #define ZYDIS_CPUFLAG_VM (1ul << 17) 334 #define ZYDIS_CPUFLAG_AC (1ul << 18) 338 #define ZYDIS_CPUFLAG_VIF (1ul << 19) 342 #define ZYDIS_CPUFLAG_VIP (1ul << 20) 346 #define ZYDIS_CPUFLAG_ID (1ul << 21) 364 #define ZYDIS_FPUFLAG_C0 (1ul << 0) 368 #define ZYDIS_FPUFLAG_C1 (1ul << 1) 372 #define ZYDIS_FPUFLAG_C2 (1ul << 2) 376 #define ZYDIS_FPUFLAG_C3 (1ul << 3) 454 ZYDIS_EXCEPTION_CLASS_NONE,
456 ZYDIS_EXCEPTION_CLASS_SSE1,
457 ZYDIS_EXCEPTION_CLASS_SSE2,
458 ZYDIS_EXCEPTION_CLASS_SSE3,
459 ZYDIS_EXCEPTION_CLASS_SSE4,
460 ZYDIS_EXCEPTION_CLASS_SSE5,
461 ZYDIS_EXCEPTION_CLASS_SSE7,
462 ZYDIS_EXCEPTION_CLASS_AVX1,
463 ZYDIS_EXCEPTION_CLASS_AVX2,
464 ZYDIS_EXCEPTION_CLASS_AVX3,
465 ZYDIS_EXCEPTION_CLASS_AVX4,
466 ZYDIS_EXCEPTION_CLASS_AVX5,
467 ZYDIS_EXCEPTION_CLASS_AVX6,
468 ZYDIS_EXCEPTION_CLASS_AVX7,
469 ZYDIS_EXCEPTION_CLASS_AVX8,
470 ZYDIS_EXCEPTION_CLASS_AVX11,
471 ZYDIS_EXCEPTION_CLASS_AVX12,
472 ZYDIS_EXCEPTION_CLASS_E1,
473 ZYDIS_EXCEPTION_CLASS_E1NF,
474 ZYDIS_EXCEPTION_CLASS_E2,
475 ZYDIS_EXCEPTION_CLASS_E2NF,
476 ZYDIS_EXCEPTION_CLASS_E3,
477 ZYDIS_EXCEPTION_CLASS_E3NF,
478 ZYDIS_EXCEPTION_CLASS_E4,
479 ZYDIS_EXCEPTION_CLASS_E4NF,
480 ZYDIS_EXCEPTION_CLASS_E5,
481 ZYDIS_EXCEPTION_CLASS_E5NF,
482 ZYDIS_EXCEPTION_CLASS_E6,
483 ZYDIS_EXCEPTION_CLASS_E6NF,
484 ZYDIS_EXCEPTION_CLASS_E7NM,
485 ZYDIS_EXCEPTION_CLASS_E7NM128,
486 ZYDIS_EXCEPTION_CLASS_E9NF,
487 ZYDIS_EXCEPTION_CLASS_E10,
488 ZYDIS_EXCEPTION_CLASS_E10NF,
489 ZYDIS_EXCEPTION_CLASS_E11,
490 ZYDIS_EXCEPTION_CLASS_E11NF,
491 ZYDIS_EXCEPTION_CLASS_E12,
492 ZYDIS_EXCEPTION_CLASS_E12NP,
493 ZYDIS_EXCEPTION_CLASS_K20,
494 ZYDIS_EXCEPTION_CLASS_K21,
495 ZYDIS_EXCEPTION_CLASS_AMXE1,
496 ZYDIS_EXCEPTION_CLASS_AMXE2,
497 ZYDIS_EXCEPTION_CLASS_AMXE3,
498 ZYDIS_EXCEPTION_CLASS_AMXE4,
499 ZYDIS_EXCEPTION_CLASS_AMXE5,
500 ZYDIS_EXCEPTION_CLASS_AMXE6,
521 ZYDIS_MASK_MODE_INVALID,
562 ZYDIS_BROADCAST_MODE_INVALID,
563 ZYDIS_BROADCAST_MODE_1_TO_2,
564 ZYDIS_BROADCAST_MODE_1_TO_4,
565 ZYDIS_BROADCAST_MODE_1_TO_8,
566 ZYDIS_BROADCAST_MODE_1_TO_16,
567 ZYDIS_BROADCAST_MODE_1_TO_32,
568 ZYDIS_BROADCAST_MODE_1_TO_64,
569 ZYDIS_BROADCAST_MODE_2_TO_4,
570 ZYDIS_BROADCAST_MODE_2_TO_8,
571 ZYDIS_BROADCAST_MODE_2_TO_16,
572 ZYDIS_BROADCAST_MODE_4_TO_8,
573 ZYDIS_BROADCAST_MODE_4_TO_16,
574 ZYDIS_BROADCAST_MODE_8_TO_16,
595 ZYDIS_ROUNDING_MODE_INVALID,
632 ZYDIS_SWIZZLE_MODE_INVALID,
633 ZYDIS_SWIZZLE_MODE_DCBA,
634 ZYDIS_SWIZZLE_MODE_CDAB,
635 ZYDIS_SWIZZLE_MODE_BADC,
636 ZYDIS_SWIZZLE_MODE_DACB,
637 ZYDIS_SWIZZLE_MODE_AAAA,
638 ZYDIS_SWIZZLE_MODE_BBBB,
639 ZYDIS_SWIZZLE_MODE_CCCC,
640 ZYDIS_SWIZZLE_MODE_DDDD,
661 ZYDIS_CONVERSION_MODE_INVALID,
662 ZYDIS_CONVERSION_MODE_FLOAT16,
663 ZYDIS_CONVERSION_MODE_SINT8,
664 ZYDIS_CONVERSION_MODE_UINT8,
665 ZYDIS_CONVERSION_MODE_SINT16,
666 ZYDIS_CONVERSION_MODE_UINT16,
1113 } prefixes[ZYDIS_MAX_INSTRUCTION_LENGTH];
The immediate value.
Definition: DecoderTypes.h:189
ZydisRegister value
The register value.
Definition: DecoderTypes.h:119
ZydisBroadcastMode_
Defines the ZydisBroadcastMode enum.
Definition: DecoderTypes.h:560
ZyanU32 ZydisAccessedFlagsMask
Defines the ZydisAccessedFlagsMask data-type.
Definition: DecoderTypes.h:268
ZyanU8 W
64-bit operand-size promotion or opcode-extension.
Definition: DecoderTypes.h:948
struct ZydisDecodedInstruction_ ZydisDecodedInstruction
Information about a decoded instruction.
enum ZydisMachineMode_ ZydisMachineMode
Defines the ZydisMachineMode enum.
ZydisOperandVisibility visibility
The visibility of the operand.
Definition: DecoderTypes.h:208
ZydisOperandType type
The type of the operand.
Definition: DecoderTypes.h:240
enum ZydisRoundingMode_ ZydisRoundingMode
Defines the ZydisRoundingMode enum.
ZyanU8 easz_index
Contains the effective address-size index.
Definition: DecoderTypes.h:1355
ZyanU8 W
64-bit operand-size promotion or opcode-extension.
Definition: DecoderTypes.h:826
The instruction is not a branch instruction.
Definition: DecoderTypes.h:421
Information about a decoded instruction.
Definition: DecoderTypes.h:1237
ZyanU8 W
64-bit operand-size promotion.
Definition: DecoderTypes.h:730
Maximum value of this enum.
Definition: DecoderTypes.h:505
Extended info for memory-operands with displacement.
Definition: DecoderTypes.h:150
ZydisSwizzleMode mode
The AVX register-swizzle mode.
Definition: DecoderTypes.h:1039
Detailed info about displacement-bytes.
Definition: DecoderTypes.h:1183
enum ZydisExceptionClass_ ZydisExceptionClass
Defines the ZydisExceptionClass enum.
ZyanU8 id_index
The final register id for the index register.
Definition: DecoderTypes.h:1407
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:620
ZyanU8 R
Extension of the ModRM.reg field (inverted).
Definition: DecoderTypes.h:859
ZyanU8 B
Extension of the ModRM.rm or SIB.base field (inverted).
Definition: DecoderTypes.h:936
Maximum value of this enum.
Definition: DecoderTypes.h:709
ZyanU8 value
The prefix byte.
Definition: DecoderTypes.h:1112
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:713
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:509
ZydisBranchType_
Defines the ZydisBranchType enum.
Definition: DecoderTypes.h:416
struct ZydisDecodedOperandImm_ ZydisDecodedOperandImm
Extended info for immediate-operands.
ZyanU8 aaa
Embedded opmask register specifier.
Definition: DecoderTypes.h:912
ZydisRegister segment
The segment register.
Definition: DecoderTypes.h:134
Extended info for memory-operands.
Definition: DecoderTypes.h:125
enum ZydisBranchType_ ZydisBranchType
Defines the ZydisBranchType enum.
ZyanU8 cd8_scale
The scale factor for EVEX/MVEX compressed 8-bit displacement values.
Definition: DecoderTypes.h:1436
A memory operand using SIB addressing form, where the index register is not used in address calculati...
Definition: DecoderTypes.h:91
ZydisPrefixType type
The prefix type.
Definition: DecoderTypes.h:1108
ZyanU8 R
Extension of the ModRM.reg field (inverted).
Definition: DecoderTypes.h:765
Detailed info about the SIB byte.
Definition: DecoderTypes.h:1160
ZyanU8 vvvv
NDS/NDD (non-destructive-source/destination) register specifier (inverted).
Definition: DecoderTypes.h:786
ZydisRegister index
The index register.
Definition: DecoderTypes.h:142
ZyanU8 b
Broadcast/RC/SAE context.
Definition: DecoderTypes.h:904
ZyanU8 pp
Compressed legacy prefix.
Definition: DecoderTypes.h:794
ZyanU8 L
Vector-length specifier.
Definition: DecoderTypes.h:790
The embedded mask register is used as a zero-mask.
Definition: DecoderTypes.h:533
ZyanU8 offset
The offset of the first VEX byte, relative to the beginning of the instruction, in bytes...
Definition: DecoderTypes.h:844
Extended info for AVX instructions.
Definition: DecoderTypes.h:984
ZyanU8 opcode
The instruction-opcode.
Definition: DecoderTypes.h:1262
ZyanU8 offset
The offset of the effective REX byte, relative to the beginning of the instruction, in bytes.
Definition: DecoderTypes.h:754
ZyanU8 L
Vector-length specifier.
Definition: DecoderTypes.h:835
ZyanU8 id_ndsndd
The final register id for the ndsndd (.vvvv) encoded register.
Definition: DecoderTypes.h:1394
Detailed info about the XOP prefix.
Definition: DecoderTypes.h:760
Round to nearest.
Definition: DecoderTypes.h:599
Utility functions and constants for registers.
Round down.
Definition: DecoderTypes.h:603
A vector SIB memory addressing operand (VSIB).
Definition: DecoderTypes.h:95
The embedded mask register is used as a zeroing control-mask (element selector).
Definition: DecoderTypes.h:541
ZyanBool has_sae
Signals, if the SAE (suppress-all-exceptions) functionality is enabled for the instruction.
Definition: DecoderTypes.h:1055
ZyanBool is_relative
Signals, if the immediate value contains a relative offset.
Definition: DecoderTypes.h:185
ZyanU16 element_count
The number of elements.
Definition: DecoderTypes.h:232
struct ZydisDecoderContext_ ZydisDecoderContext
The decoder context is used to preserve some internal state between subsequent decode operations for ...
struct ZydisDecoderContext_::@4 vector_unified
Contains some cached REX/XOP/VEX/EVEX/MVEX values to provide uniform access.
ZydisRegister base
The base register.
Definition: DecoderTypes.h:138
Defines decoder/encoder-shared macros and types.
ZyanU8 m_mmmm
Opcode-map specifier.
Definition: DecoderTypes.h:822
Round towards zero.
Definition: DecoderTypes.h:611
ZyanU8 offset
The offset of the SIB byte, relative to the beginning of the instruction, in bytes.
Definition: DecoderTypes.h:1178
ZyanU8 id_rm
The final register id for the rm encoded register.
Definition: DecoderTypes.h:1390
ZyanU8 element_size
The EVEX element-size.
Definition: DecoderTypes.h:1421
ZyanU16 ZydisElementSize
Defines the ZydisElementSize datatype.
Definition: SharedTypes.h:190
ZyanU8 R2
High-16 register specifier modifier (inverted).
Definition: DecoderTypes.h:940
ZyanU8 W
64-bit operand-size promotion or opcode-extension.
Definition: DecoderTypes.h:781
ZyanU8 mmm
Opcode-map specifier.
Definition: DecoderTypes.h:875
ZyanU8 SSS
Swizzle/broadcast/up-convert/down-convert/static-rounding controls.
Definition: DecoderTypes.h:965
enum ZydisBroadcastMode_ ZydisBroadcastMode
Defines the ZydisBroadcastMode enum.
ZydisSwizzleMode_
Defines the ZydisSwizzleMode enum.
Definition: DecoderTypes.h:630
ZyanBool is_signed
Signals, if the immediate value is signed.
Definition: DecoderTypes.h:180
ZyanU8 vvvv
NDS/NDD (non-destructive-source/destination) register specifier (inverted).
Definition: DecoderTypes.h:953
ZydisExceptionClass_
Defines the ZydisExceptionClass enum.
Definition: DecoderTypes.h:452
ZyanU8 V2
High-16 NDS/VIDX register specifier.
Definition: DecoderTypes.h:908
Contains info about the AVX rounding.
Definition: DecoderTypes.h:1024
enum ZydisPrefixType_ ZydisPrefixType
Defines the ZydisPrefixType enum.
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:675
ZydisOperandActions actions
The operand-actions.
Definition: DecoderTypes.h:212
ZyanU8 operand_count
The number of instruction-operands.
Definition: DecoderTypes.h:1282
struct ZydisDecoderContext_::@7 mvex
Internal MVEX-specific information.
ZyanU8 W
64-bit operand-size promotion or opcode-extension.
Definition: DecoderTypes.h:879
ZyanU8 X
Extension of the SIB.index field (inverted).
Definition: DecoderTypes.h:769
ZyanU8 R2
High-16 register specifier modifier (inverted).
Definition: DecoderTypes.h:871
ZyanU8 scale
The scale factor.
Definition: DecoderTypes.h:1165
ZyanU8 base
The base-register specifier.
Definition: DecoderTypes.h:1173
struct ZydisDecodedInstructionRawMvex_ ZydisDecodedInstructionRawMvex
Detailed info about the MVEX prefix.
The prefix is used as a mandatory prefix.
Definition: DecoderTypes.h:704
ZyanU8 B
Extension of the ModRM.rm, SIB.base, or opcode.reg field.
Definition: DecoderTypes.h:742
ZyanU8 X
Extension of the SIB.index/vidx field (inverted).
Definition: DecoderTypes.h:932
ZydisConversionMode_
Defines the ZydisConversionMode enum.
Definition: DecoderTypes.h:659
ZyanU8 B
Extension of the ModRM.rm, SIB.base, or opcode.reg field (inverted).
Definition: DecoderTypes.h:818
ZydisInstructionEncoding encoding
The instruction-encoding (LEGACY, 3DNOW, VEX, EVEX, XOP).
Definition: DecoderTypes.h:1254
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:649
ZydisElementSize element_size
The size of a single element.
Definition: DecoderTypes.h:228
ZydisMemoryOperandType type
The type of the memory operand.
Definition: DecoderTypes.h:130
Contains info about the AVX data-conversion (KNC only).
Definition: DecoderTypes.h:1044
struct ZydisDecoderContext_::@5 reg_info
Information about encoded operand registers.
ZyanBool is_static
Signals, if the broadcast is a static broadcast.
Definition: DecoderTypes.h:1015
ZyanU8 offset
The offset of the ModRM byte, relative to the beginning of the instruction, in bytes.
Definition: DecoderTypes.h:1155
ZyanBool is_signed
Signals, if the immediate value is signed.
Definition: DecoderTypes.h:1208
ZyanU8 pp
Compressed legacy prefix.
Definition: DecoderTypes.h:839
ZyanU8 id_base
The final register id for the base register.
Definition: DecoderTypes.h:1400
ZyanU8 mmmm
Opcode-map specifier.
Definition: DecoderTypes.h:944
The decoder context is used to preserve some internal state between subsequent decode operations for ...
Definition: DecoderTypes.h:1338
Info about the embedded writemask-register (AVX-512 and KNC only).
Definition: DecoderTypes.h:993
ZyanU8 offset
The offset of the immediate data, relative to the beginning of the instruction, in bytes...
Definition: DecoderTypes.h:1230
The prefix is ignored by the instruction.
Definition: DecoderTypes.h:693
Maximum value of this enum.
Definition: DecoderTypes.h:579
The prefix is effectively used by the instruction.
Definition: DecoderTypes.h:697
ZydisMnemonic mnemonic
The instruction-mnemonic.
Definition: DecoderTypes.h:1246
Extended info for pointer-operands.
Definition: DecoderTypes.h:166
Maximum value of this enum.
Definition: DecoderTypes.h:645
struct ZydisDecodedOperandPtr_ ZydisDecodedOperandPtr
Extended info for pointer-operands.
ZyanU8 m_mmmm
Opcode-map specifier.
Definition: DecoderTypes.h:777
ZydisBroadcastMode mode
The AVX broadcast-mode.
Definition: DecoderTypes.h:1019
ZyanU8 pp
Compressed legacy prefix.
Definition: DecoderTypes.h:957
ZyanBool is_mod_reg
Signals if the modrm.mod == 3 or reg form is forced for the instruction.
Definition: DecoderTypes.h:1380
The memory operand is only used for address-generation.
Definition: DecoderTypes.h:86
The embedded mask register is used as a control-mask (element selector).
Definition: DecoderTypes.h:537
struct ZydisDecodedInstructionAvx_ ZydisDecodedInstructionAvx
Extended info for AVX instructions.
ZyanU8 R
Extension of the ModRM.reg field (inverted).
Definition: DecoderTypes.h:928
ZydisInstructionAttributes attributes
See Instruction attributes.
Definition: DecoderTypes.h:1293
ZydisMemoryOperandType_
Defines the ZydisMemoryOperandType enum.
Definition: DecoderTypes.h:75
The instruction is a far (inter-segment) branch instruction.
Definition: DecoderTypes.h:433
struct ZydisDecodedInstructionRaw_ ZydisDecodedInstructionRaw
Detailed info about different instruction-parts like ModRM, SIB or encoding-prefixes.
ZyanU8 eosz_index
Contains the effective operand-size index.
Definition: DecoderTypes.h:1349
ZyanU8 offset
The offset of the first evex byte, relative to the beginning of the instruction, in bytes...
Definition: DecoderTypes.h:917
ZyanU8 size
The size of the VEX prefix, in bytes.
Definition: DecoderTypes.h:848
const void * definition
A pointer to the internal instruction definition.
Definition: DecoderTypes.h:1343
ZyanU8 scale
The scale factor.
Definition: DecoderTypes.h:146
Detailed info about the ModRM byte.
Definition: DecoderTypes.h:1137
Detailed info about immediate-bytes.
Definition: DecoderTypes.h:1203
struct ZydisDecodedInstructionMeta_ ZydisDecodedInstructionMeta
Instruction meta info.
Extended info for register-operands.
Definition: DecoderTypes.h:114
const ZydisAccessedFlags * cpu_flags
Information about CPU flags accessed by the instruction.
Definition: DecoderTypes.h:1300
Detailed info about different instruction-parts like ModRM, SIB or encoding-prefixes.
Definition: DecoderTypes.h:1094
Maximum value of this enum.
Definition: DecoderTypes.h:671
Detailed info about the VEX prefix.
Definition: DecoderTypes.h:805
ZyanU8 length
The length of the decoded instruction.
Definition: DecoderTypes.h:1250
ZydisOpcodeMap opcode_map
The opcode-map.
Definition: DecoderTypes.h:1258
ZyanU16 vector_length
The AVX vector-length.
Definition: DecoderTypes.h:989
ZyanU8 index
The index-register specifier.
Definition: DecoderTypes.h:1169
Masking is disabled for the current instruction (K0 register is used).
Definition: DecoderTypes.h:525
ZyanU8 V2
High-16 NDS/VIDX register specifier.
Definition: DecoderTypes.h:969
ZyanU8 L2
Vector-length specifier or rounding-control (most significant bit).
Definition: DecoderTypes.h:896
ZyanU8 id_reg
The final register id for the reg encoded register.
Definition: DecoderTypes.h:1384
ZydisConversionMode mode
The AVX data-conversion mode.
Definition: DecoderTypes.h:1049
ZydisRoundingMode mode
The AVX rounding-mode.
Definition: DecoderTypes.h:1029
enum ZydisInstructionEncoding_ ZydisInstructionEncoding
Defines the ZydisInstructionEncoding enum.
ZyanU8 pp
Compressed legacy prefix.
Definition: DecoderTypes.h:888
ZyanU8 L
Vector-length specifier or rounding-control (least significant bit).
Definition: DecoderTypes.h:900
The instruction is a short (8-bit) branch instruction.
Definition: DecoderTypes.h:425
Round up.
Definition: DecoderTypes.h:607
ZyanBool has_eviction_hint
Signals, if the instruction has a memory-eviction-hint (KNC only).
Definition: DecoderTypes.h:1059
Definition: DecoderTypes.h:385
ZydisMaskMode mode
The masking mode.
Definition: DecoderTypes.h:998
struct ZydisDecodedInstructionRawEvex ZydisDecodedInstructionRawEvex
Detailed info about the EVEX prefix.
Extended info for immediate-operands.
Definition: DecoderTypes.h:175
ZydisDecodedInstructionAvx avx
Extended info for AVX instructions.
Definition: DecoderTypes.h:1310
Normal memory operand.
Definition: DecoderTypes.h:81
ZyanU8 stack_width
The stack width.
Definition: DecoderTypes.h:1266
ZyanU8 prefix_count
The number of legacy prefixes.
Definition: DecoderTypes.h:1099
ZyanU8 ZydisOperandAttributes
Defines the ZydisOperandAttributes data-type.
Definition: DecoderTypes.h:56
ZyanU8 address_width
The effective address width.
Definition: DecoderTypes.h:1274
enum ZydisConversionMode_ ZydisConversionMode
Defines the ZydisConversionMode enum.
ZyanU8 offset
The offset of the displacement data, relative to the beginning of the instruction, in bytes.
Definition: DecoderTypes.h:1198
ZyanI64 value
The displacement value.
Definition: DecoderTypes.h:159
struct ZydisDecodedInstructionRawXop_ ZydisDecodedInstructionRawXop
Detailed info about the XOP prefix.
ZyanU8 id
The operand-id.
Definition: DecoderTypes.h:204
Detailed info about the EVEX prefix.
Definition: DecoderTypes.h:854
Detailed info about the legacy prefixes (including REX).
Definition: DecoderTypes.h:1103
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:583
ZyanU8 mod
The addressing mode.
Definition: DecoderTypes.h:1142
ZyanU8 ZydisOperandActions
Defines the ZydisOperandActions data-type.
Definition: SharedTypes.h:402
ZyanU8 size
The physical displacement size, in bits.
Definition: DecoderTypes.h:1192
Detailed info about the MVEX prefix.
Definition: DecoderTypes.h:923
enum ZydisOpcodeMap_ ZydisOpcodeMap
Defines the ZydisOpcodeMap enum.
ZydisMachineMode machine_mode
The machine mode used to decode this instruction.
Definition: DecoderTypes.h:1242
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:442
const ZydisAccessedFlags * fpu_flags
Information about FPU flags accessed by the instruction.
Definition: DecoderTypes.h:1306
enum ZydisElementType_ ZydisElementType
Defines the ZydisElementType enum.
ZydisRoundingMode_
Defines the ZydisRoundingMode enum.
Definition: DecoderTypes.h:593
struct ZydisDecodedOperand_ ZydisDecodedOperand
Defines the ZydisDecodedOperand struct.
ZyanU8 operand_count_visible
The number of explicit (visible) instruction-operands.
Definition: DecoderTypes.h:1289
enum ZydisSwizzleMode_ ZydisSwizzleMode
Defines the ZydisSwizzleMode enum.
ZydisRegister reg
The mask register.
Definition: DecoderTypes.h:1002
enum ZydisOperandVisibility_ ZydisOperandVisibility
Defines the ZydisOperandVisibility enum.
Maximum value of this enum.
Definition: DecoderTypes.h:438
ZyanU8 tuple_type
The EVEX tuple-type.
Definition: DecoderTypes.h:1417
Maximum value of this enum.
Definition: DecoderTypes.h:546
ZyanU8 operand_width
The effective operand width.
Definition: DecoderTypes.h:1270
Contains info about the AVX broadcast.
Definition: DecoderTypes.h:1007
ZyanU16 size
The logical size of the operand (in bits).
Definition: DecoderTypes.h:220
ZyanU8 z
Zeroing/Merging.
Definition: DecoderTypes.h:892
ZyanU8 offset
The offset of the first mvex byte, relative to the beginning of the instruction, in bytes...
Definition: DecoderTypes.h:978
struct ZydisDecodedOperandMem_ ZydisDecodedOperandMem
Extended info for memory-operands.
ZydisDecodedInstructionMeta meta
Meta info.
Definition: DecoderTypes.h:1314
struct ZydisDecodedInstructionRawRex_ ZydisDecodedInstructionRawRex
Detailed info about the REX prefix.
ZyanU8 vvvv
NDS/NDD (non-destructive-source/destination) register specifier (inverted).
Definition: DecoderTypes.h:884
Maximum value of this enum.
Definition: DecoderTypes.h:616
enum ZydisMemoryOperandType_ ZydisMemoryOperandType
Defines the ZydisMemoryOperandType enum.
ZyanU8 E
Non-temporal/eviction hint.
Definition: DecoderTypes.h:961
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:104
ZydisPrefixType_
Defines the ZydisPrefixType enum.
Definition: DecoderTypes.h:685
The immediate value.
Definition: DecoderTypes.h:1217
enum ZydisMaskMode_ ZydisMaskMode
Defines the ZydisMaskMode enum.
ZydisMaskMode_
Defines the ZydisMaskMode enum.
Definition: DecoderTypes.h:519
struct ZydisDecodedOperandReg_ ZydisDecodedOperandReg
Extended info for register-operands.
ZyanU8 X
Extension of the SIB.index field.
Definition: DecoderTypes.h:738
ZyanU8 functionality
The MVEX functionality.
Definition: DecoderTypes.h:1431
ZyanI64 value
The displacement value.
Definition: DecoderTypes.h:1188
ZyanU8 X
Extension of the SIB.index field (inverted).
Definition: DecoderTypes.h:814
ZyanU8 kkk
Embedded opmask register specifier.
Definition: DecoderTypes.h:973
Maximum value of this enum.
Definition: DecoderTypes.h:100
Contains info about the AVX register-swizzle (KNC only).
Definition: DecoderTypes.h:1034
ZydisOperandEncoding encoding
The operand-encoding.
Definition: DecoderTypes.h:216
ZyanU8 offset
The offset of the first xop byte, relative to the beginning of the instruction, in bytes...
Definition: DecoderTypes.h:799
ZyanU8 B
Extension of the ModRM.rm, SIB.base, or opcode.reg field (inverted).
Definition: DecoderTypes.h:773
ZyanU8 R
Extension of the ModRM.reg field.
Definition: DecoderTypes.h:734
ZyanU8 B
Extension of the ModRM.rm or SIB.base field (inverted).
Definition: DecoderTypes.h:867
ZyanU8 R
Extension of the ModRM.reg field (inverted).
Definition: DecoderTypes.h:810
ZyanBool has_displacement
Signals, if the displacement value is used.
Definition: DecoderTypes.h:155
ZyanU8 size
The physical immediate size, in bits.
Definition: DecoderTypes.h:1225
ZyanBool is_relative
Signals, if the immediate value contains a relative offset.
Definition: DecoderTypes.h:1213
Defines the ZydisDecodedOperand struct.
Definition: DecoderTypes.h:199
ZyanU8 vvvv
NDS/NDD (non-destructive-source/destination) register specifier (inverted).
Definition: DecoderTypes.h:831
ZyanU8 rm
Register specifier or opcode-extension.
Definition: DecoderTypes.h:1150
Mnemonic constant definitions and helper functions.
The minimum number of bits required to represent all values of this enum.
Definition: DecoderTypes.h:550
ZydisElementType element_type
The element-type.
Definition: DecoderTypes.h:224
Detailed info about the REX prefix.
Definition: DecoderTypes.h:725
ZyanU8 X
Extension of the SIB.index/vidx field (inverted).
Definition: DecoderTypes.h:863
The embedded mask register is used as a merge-mask.
Definition: DecoderTypes.h:529
ZyanU64 ZydisInstructionAttributes
Defines the ZydisInstructionAttributes data-type.
Definition: SharedTypes.h:497
The instruction is a near (16-bit or 32-bit) branch instruction.
Definition: DecoderTypes.h:429
enum ZydisOperandType_ ZydisOperandType
Defines the ZydisOperandType enum.
enum ZydisOperandEncoding_ ZydisOperandEncoding
Defines the ZydisOperandEncoding enum.
struct ZydisDecoderContext_::@6 evex
Internal EVEX-specific information.
ZydisDecodedInstructionRaw raw
Detailed info about different instruction-parts like ModRM, SIB or encoding-prefixes.
Definition: DecoderTypes.h:1319
struct ZydisDecodedInstructionRawVex_ ZydisDecodedInstructionRawVex
Detailed info about the VEX prefix.
ZyanU8 reg
Register specifier or opcode-extension.
Definition: DecoderTypes.h:1146