32 #ifndef ZYDIS_INSTRUCTIONINFO_H
33 #define ZYDIS_INSTRUCTIONINFO_H
232 #define ZYDIS_ATTRIB_HAS_MODRM 0x0000000000000001
236 #define ZYDIS_ATTRIB_HAS_SIB 0x0000000000000002
240 #define ZYDIS_ATTRIB_HAS_REX 0x0000000000000004
244 #define ZYDIS_ATTRIB_HAS_XOP 0x0000000000000008
248 #define ZYDIS_ATTRIB_HAS_VEX 0x0000000000000010
252 #define ZYDIS_ATTRIB_HAS_EVEX 0x0000000000000020
256 #define ZYDIS_ATTRIB_HAS_MVEX 0x0000000000000040
260 #define ZYDIS_ATTRIB_IS_RELATIVE 0x0000000000000080
266 #define ZYDIS_ATTRIB_IS_PRIVILEGED 0x0000000000000100
271 #define ZYDIS_ATTRIB_IS_FAR_BRANCH 0x0000001000000000
276 #define ZYDIS_ATTRIB_ACCEPTS_LOCK 0x0000000000000200
280 #define ZYDIS_ATTRIB_ACCEPTS_REP 0x0000000000000400
284 #define ZYDIS_ATTRIB_ACCEPTS_REPE 0x0000000000000800
288 #define ZYDIS_ATTRIB_ACCEPTS_REPZ 0x0000000000000800
292 #define ZYDIS_ATTRIB_ACCEPTS_REPNE 0x0000000000001000
296 #define ZYDIS_ATTRIB_ACCEPTS_REPNZ 0x0000000000001000
300 #define ZYDIS_ATTRIB_ACCEPTS_BOUND 0x0000000000002000
304 #define ZYDIS_ATTRIB_ACCEPTS_XACQUIRE 0x0000000000004000
308 #define ZYDIS_ATTRIB_ACCEPTS_XRELEASE 0x0000000000008000
313 #define ZYDIS_ATTRIB_ACCEPTS_HLE_WITHOUT_LOCK 0x0000000000010000
317 #define ZYDIS_ATTRIB_ACCEPTS_BRANCH_HINTS 0x0000000000020000
321 #define ZYDIS_ATTRIB_ACCEPTS_SEGMENT 0x0000000000040000
325 #define ZYDIS_ATTRIB_HAS_LOCK 0x0000000000080000
329 #define ZYDIS_ATTRIB_HAS_REP 0x0000000000100000
333 #define ZYDIS_ATTRIB_HAS_REPE 0x0000000000200000
337 #define ZYDIS_ATTRIB_HAS_REPZ 0x0000000000200000
341 #define ZYDIS_ATTRIB_HAS_REPNE 0x0000000000400000
345 #define ZYDIS_ATTRIB_HAS_REPNZ 0x0000000000400000
349 #define ZYDIS_ATTRIB_HAS_BOUND 0x0000000000800000
353 #define ZYDIS_ATTRIB_HAS_XACQUIRE 0x0000000001000000
357 #define ZYDIS_ATTRIB_HAS_XRELEASE 0x0000000002000000
361 #define ZYDIS_ATTRIB_HAS_BRANCH_NOT_TAKEN 0x0000000004000000
365 #define ZYDIS_ATTRIB_HAS_BRANCH_TAKEN 0x0000000008000000
369 #define ZYDIS_ATTRIB_HAS_SEGMENT 0x00000003F0000000
373 #define ZYDIS_ATTRIB_HAS_SEGMENT_CS 0x0000000010000000
377 #define ZYDIS_ATTRIB_HAS_SEGMENT_SS 0x0000000020000000
381 #define ZYDIS_ATTRIB_HAS_SEGMENT_DS 0x0000000040000000
385 #define ZYDIS_ATTRIB_HAS_SEGMENT_ES 0x0000000080000000
389 #define ZYDIS_ATTRIB_HAS_SEGMENT_FS 0x0000000100000000
393 #define ZYDIS_ATTRIB_HAS_SEGMENT_GS 0x0000000200000000
397 #define ZYDIS_ATTRIB_HAS_OPERANDSIZE 0x0000000400000000
401 #define ZYDIS_ATTRIB_HAS_ADDRESSSIZE 0x0000000800000000
Includes and defines some default datatypes.
uint64_t ZydisU64
Definition: CommonTypes.h:48
uint8_t ZydisU8
Definition: CommonTypes.h:45
uint32_t ZydisU32
Definition: CommonTypes.h:47
int64_t ZydisI64
Definition: CommonTypes.h:52
ZydisU8 ZydisBool
@briefs Defines the ZydisBool datatype.
Definition: CommonTypes.h:133
uint16_t ZydisU16
Definition: CommonTypes.h:46
ZydisU8 ZydisBroadcastMode
Defines the ZydisBroadcastMode datatype.
Definition: DecoderTypes.h:688
ZydisU32 ZydisCPUFlagMask
Defines the ZydisCPUFlagMask datatype.
Definition: DecoderTypes.h:415
ZydisU8 ZydisExceptionClass
Defines the ZydisExceptionClass datatype.
Definition: DecoderTypes.h:565
ZydisConversionModes
Values that represent conversion-modes.
Definition: DecoderTypes.h:796
@ ZYDIS_CONVERSION_MODE_SINT8
Definition: DecoderTypes.h:799
@ ZYDIS_CONVERSION_MODE_INVALID
Definition: DecoderTypes.h:797
@ ZYDIS_CONVERSION_MODE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:807
@ ZYDIS_CONVERSION_MODE_SINT16
Definition: DecoderTypes.h:801
@ ZYDIS_CONVERSION_MODE_UINT16
Definition: DecoderTypes.h:802
@ ZYDIS_CONVERSION_MODE_FLOAT16
Definition: DecoderTypes.h:798
@ ZYDIS_CONVERSION_MODE_UINT8
Definition: DecoderTypes.h:800
ZydisU8 ZydisCPUFlagAction
Defines the ZydisCPUFlagAction datatype.
Definition: DecoderTypes.h:516
ZydisU8 ZydisSwizzleMode
Defines the ZydisSwizzleMode datatype.
Definition: DecoderTypes.h:760
ZydisExceptionClasses
Values that represent exception-classes.
Definition: DecoderTypes.h:571
@ ZYDIS_EXCEPTION_CLASS_E5
Definition: DecoderTypes.h:598
@ ZYDIS_EXCEPTION_CLASS_AVX4
Definition: DecoderTypes.h:583
@ ZYDIS_EXCEPTION_CLASS_E1NF
Definition: DecoderTypes.h:591
@ ZYDIS_EXCEPTION_CLASS_AVX7
Definition: DecoderTypes.h:586
@ ZYDIS_EXCEPTION_CLASS_E7NM128
Definition: DecoderTypes.h:603
@ ZYDIS_EXCEPTION_CLASS_AVX11
Definition: DecoderTypes.h:588
@ ZYDIS_EXCEPTION_CLASS_E12NP
Definition: DecoderTypes.h:610
@ ZYDIS_EXCEPTION_CLASS_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:617
@ ZYDIS_EXCEPTION_CLASS_AVX3
Definition: DecoderTypes.h:582
@ ZYDIS_EXCEPTION_CLASS_AVX5
Definition: DecoderTypes.h:584
@ ZYDIS_EXCEPTION_CLASS_SSE2
Definition: DecoderTypes.h:575
@ ZYDIS_EXCEPTION_CLASS_SSE3
Definition: DecoderTypes.h:576
@ ZYDIS_EXCEPTION_CLASS_E10
Definition: DecoderTypes.h:605
@ ZYDIS_EXCEPTION_CLASS_E3
Definition: DecoderTypes.h:594
@ ZYDIS_EXCEPTION_CLASS_E1
Definition: DecoderTypes.h:590
@ ZYDIS_EXCEPTION_CLASS_SSE5
Definition: DecoderTypes.h:578
@ ZYDIS_EXCEPTION_CLASS_SSE7
Definition: DecoderTypes.h:579
@ ZYDIS_EXCEPTION_CLASS_AVX6
Definition: DecoderTypes.h:585
@ ZYDIS_EXCEPTION_CLASS_K20
Definition: DecoderTypes.h:611
@ ZYDIS_EXCEPTION_CLASS_E9NF
Definition: DecoderTypes.h:604
@ ZYDIS_EXCEPTION_CLASS_SSE4
Definition: DecoderTypes.h:577
@ ZYDIS_EXCEPTION_CLASS_E3NF
Definition: DecoderTypes.h:595
@ ZYDIS_EXCEPTION_CLASS_E11
Definition: DecoderTypes.h:607
@ ZYDIS_EXCEPTION_CLASS_E4
Definition: DecoderTypes.h:596
@ ZYDIS_EXCEPTION_CLASS_E12
Definition: DecoderTypes.h:609
@ ZYDIS_EXCEPTION_CLASS_K21
Definition: DecoderTypes.h:612
@ ZYDIS_EXCEPTION_CLASS_E6NF
Definition: DecoderTypes.h:601
@ ZYDIS_EXCEPTION_CLASS_AVX2
Definition: DecoderTypes.h:581
@ ZYDIS_EXCEPTION_CLASS_E2NF
Definition: DecoderTypes.h:593
@ ZYDIS_EXCEPTION_CLASS_SSE1
Definition: DecoderTypes.h:574
@ ZYDIS_EXCEPTION_CLASS_E5NF
Definition: DecoderTypes.h:599
@ ZYDIS_EXCEPTION_CLASS_NONE
Definition: DecoderTypes.h:572
@ ZYDIS_EXCEPTION_CLASS_E6
Definition: DecoderTypes.h:600
@ ZYDIS_EXCEPTION_CLASS_E10NF
Definition: DecoderTypes.h:606
@ ZYDIS_EXCEPTION_CLASS_AVX8
Definition: DecoderTypes.h:587
@ ZYDIS_EXCEPTION_CLASS_E4NF
Definition: DecoderTypes.h:597
@ ZYDIS_EXCEPTION_CLASS_E11NF
Definition: DecoderTypes.h:608
@ ZYDIS_EXCEPTION_CLASS_E2
Definition: DecoderTypes.h:592
@ ZYDIS_EXCEPTION_CLASS_AVX1
Definition: DecoderTypes.h:580
@ ZYDIS_EXCEPTION_CLASS_E7NM
Definition: DecoderTypes.h:602
@ ZYDIS_EXCEPTION_CLASS_AVX12
Definition: DecoderTypes.h:589
ZydisU8 ZydisConversionMode
Defines the ZydisConversionMode datatype.
Definition: DecoderTypes.h:790
ZydisVectorLengths
Values that represent vector-lengths.
Definition: DecoderTypes.h:633
@ ZYDIS_VECTOR_LENGTH_256
Definition: DecoderTypes.h:636
@ ZYDIS_VECTOR_LENGTH_512
Definition: DecoderTypes.h:637
@ ZYDIS_VECTOR_LENGTH_128
Definition: DecoderTypes.h:635
@ ZYDIS_VECTOR_LENGTH_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:642
@ ZYDIS_VECTOR_LENGTH_INVALID
Definition: DecoderTypes.h:634
ZydisMaskModes
Values that represent AVX mask-modes.
Definition: DecoderTypes.h:658
@ ZYDIS_MASK_MODE_INVALID
Definition: DecoderTypes.h:659
@ ZYDIS_MASK_MODE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:678
@ ZYDIS_MASK_MODE_MERGE
The embedded mask register is used as a merge-mask.
Definition: DecoderTypes.h:669
@ ZYDIS_MASK_MODE_ZERO
The embedded mask register is used as a zero-mask.
Definition: DecoderTypes.h:673
ZydisMemoryOperandTypes
Values that represent memory-operand types.
Definition: DecoderTypes.h:62
@ ZYDIS_MEMOP_TYPE_AGEN
The memory operand is only used for address-generation.
Definition: DecoderTypes.h:72
@ ZYDIS_MEMOP_TYPE_MEM
Normal memory operand.
Definition: DecoderTypes.h:67
@ ZYDIS_MEMOP_TYPE_MIB
A memory operand using SIB addressing form, where the index register is not used in address calculati...
Definition: DecoderTypes.h:77
@ ZYDIS_MEMOP_TYPE_INVALID
Definition: DecoderTypes.h:63
@ ZYDIS_MEMOP_TYPE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:82
ZydisCPUFlags
Values that represent CPU-flags.
Definition: DecoderTypes.h:421
@ ZYDIS_CPUFLAG_ZF
Zero flag.
Definition: DecoderTypes.h:437
@ ZYDIS_CPUFLAG_TF
Trap flag.
Definition: DecoderTypes.h:445
@ ZYDIS_CPUFLAG_C1
FPU condition-code flag 1.
Definition: DecoderTypes.h:497
@ ZYDIS_CPUFLAG_SF
Sign flag.
Definition: DecoderTypes.h:441
@ ZYDIS_CPUFLAG_OF
Overflow flag.
Definition: DecoderTypes.h:457
@ ZYDIS_CPUFLAG_IF
Interrupt enable flag.
Definition: DecoderTypes.h:449
@ ZYDIS_CPUFLAG_VIP
Virtual interrupt pending.
Definition: DecoderTypes.h:485
@ ZYDIS_CPUFLAG_VIF
Virtual interrupt flag.
Definition: DecoderTypes.h:481
@ ZYDIS_CPUFLAG_CF
Carry flag.
Definition: DecoderTypes.h:425
@ ZYDIS_CPUFLAG_PF
Parity flag.
Definition: DecoderTypes.h:429
@ ZYDIS_CPUFLAG_C3
FPU condition-code flag 3.
Definition: DecoderTypes.h:505
@ ZYDIS_CPUFLAG_C2
FPU condition-code flag 2.
Definition: DecoderTypes.h:501
@ ZYDIS_CPUFLAG_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:510
@ ZYDIS_CPUFLAG_C0
FPU condition-code flag 0.
Definition: DecoderTypes.h:493
@ ZYDIS_CPUFLAG_DF
Direction flag.
Definition: DecoderTypes.h:453
@ ZYDIS_CPUFLAG_AC
Alignment check.
Definition: DecoderTypes.h:477
@ ZYDIS_CPUFLAG_VM
Virtual 8086 mode flag.
Definition: DecoderTypes.h:473
@ ZYDIS_CPUFLAG_IOPL
I/O privilege level flag.
Definition: DecoderTypes.h:461
@ ZYDIS_CPUFLAG_RF
Resume flag.
Definition: DecoderTypes.h:469
@ ZYDIS_CPUFLAG_AF
Adjust flag.
Definition: DecoderTypes.h:433
@ ZYDIS_CPUFLAG_NT
Nested task flag.
Definition: DecoderTypes.h:465
@ ZYDIS_CPUFLAG_ID
Able to use CPUID instruction.
Definition: DecoderTypes.h:489
ZydisU8 ZydisMemoryOperandType
Defines the ZydisMemoryOperandType datatype.
Definition: DecoderTypes.h:56
struct ZydisDecodedOperand_ ZydisDecodedOperand
Defines the ZydisDecodedOperand struct.
ZydisU8 ZydisMaskMode
Defines the ZydisMaskMode datatype.
Definition: DecoderTypes.h:652
ZydisRoundingModes
Values that represent AVX rounding-modes.
Definition: DecoderTypes.h:728
@ ZYDIS_ROUNDING_MODE_INVALID
Definition: DecoderTypes.h:729
@ ZYDIS_ROUNDING_MODE_RN
Round to nearest.
Definition: DecoderTypes.h:733
@ ZYDIS_ROUNDING_MODE_RZ
Round towards zero.
Definition: DecoderTypes.h:745
@ ZYDIS_ROUNDING_MODE_RD
Round down.
Definition: DecoderTypes.h:737
@ ZYDIS_ROUNDING_MODE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:750
@ ZYDIS_ROUNDING_MODE_RU
Round up.
Definition: DecoderTypes.h:741
ZydisU64 ZydisInstructionAttributes
Defines the ZydisInstructionAttributes datatype.
Definition: DecoderTypes.h:227
ZydisU16 ZydisVectorLength
Defines the ZydisVectorLength datatype.
Definition: DecoderTypes.h:627
ZydisU8 ZydisCPUFlag
Defines the ZydisCPUFlag datatype.
Definition: DecoderTypes.h:410
ZydisCPUFlagActions
Values that represent CPU-flag actions.
Definition: DecoderTypes.h:522
@ ZYDIS_CPUFLAG_ACTION_SET_0
The CPU flag is set to 0 (write).
Definition: DecoderTypes.h:542
@ ZYDIS_CPUFLAG_ACTION_NONE
The CPU flag is not touched by the instruction.
Definition: DecoderTypes.h:526
@ ZYDIS_CPUFLAG_ACTION_UNDEFINED
The CPU flag is undefined (write).
Definition: DecoderTypes.h:550
@ ZYDIS_CPUFLAG_ACTION_MODIFIED
The CPU flag is modified (write).
Definition: DecoderTypes.h:538
@ ZYDIS_CPUFLAG_ACTION_SET_1
The CPU flag is set to 1 (write).
Definition: DecoderTypes.h:546
@ ZYDIS_CPUFLAG_ACTION_TESTED
The CPU flag is tested (read).
Definition: DecoderTypes.h:530
@ ZYDIS_CPUFLAG_ACTION_TESTED_MODIFIED
The CPU flag is tested and modified aferwards (read-write).
Definition: DecoderTypes.h:534
@ ZYDIS_CPUFLAG_ACTION_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:555
struct ZydisDecodedInstruction_ ZydisDecodedInstruction
Defines the ZydisDecodedInstruction struct.
ZydisSwizzleModes
Values that represent swizzle-modes.
Definition: DecoderTypes.h:766
@ ZYDIS_SWIZZLE_MODE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:780
@ ZYDIS_SWIZZLE_MODE_DACB
Definition: DecoderTypes.h:771
@ ZYDIS_SWIZZLE_MODE_BADC
Definition: DecoderTypes.h:770
@ ZYDIS_SWIZZLE_MODE_AAAA
Definition: DecoderTypes.h:772
@ ZYDIS_SWIZZLE_MODE_DCBA
Definition: DecoderTypes.h:768
@ ZYDIS_SWIZZLE_MODE_BBBB
Definition: DecoderTypes.h:773
@ ZYDIS_SWIZZLE_MODE_CCCC
Definition: DecoderTypes.h:774
@ ZYDIS_SWIZZLE_MODE_DDDD
Definition: DecoderTypes.h:775
@ ZYDIS_SWIZZLE_MODE_CDAB
Definition: DecoderTypes.h:769
@ ZYDIS_SWIZZLE_MODE_INVALID
Definition: DecoderTypes.h:767
ZydisU8 ZydisRoundingMode
Defines the ZydisRoundingMode datatype.
Definition: DecoderTypes.h:722
ZydisBroadcastModes
Values that represent AVX broadcast-modes.
Definition: DecoderTypes.h:694
@ ZYDIS_BROADCAST_MODE_1_TO_8
Definition: DecoderTypes.h:698
@ ZYDIS_BROADCAST_MODE_INVALID
Definition: DecoderTypes.h:695
@ ZYDIS_BROADCAST_MODE_1_TO_2
Definition: DecoderTypes.h:696
@ ZYDIS_BROADCAST_MODE_1_TO_64
Definition: DecoderTypes.h:701
@ ZYDIS_BROADCAST_MODE_2_TO_8
Definition: DecoderTypes.h:703
@ ZYDIS_BROADCAST_MODE_4_TO_16
Definition: DecoderTypes.h:706
@ ZYDIS_BROADCAST_MODE_4_TO_8
Definition: DecoderTypes.h:705
@ ZYDIS_BROADCAST_MODE_1_TO_16
Definition: DecoderTypes.h:699
@ ZYDIS_BROADCAST_MODE_1_TO_4
Definition: DecoderTypes.h:697
@ ZYDIS_BROADCAST_MODE_2_TO_4
Definition: DecoderTypes.h:702
@ ZYDIS_BROADCAST_MODE_2_TO_16
Definition: DecoderTypes.h:704
@ ZYDIS_BROADCAST_MODE_MAX_VALUE
Maximum value of this enum.
Definition: DecoderTypes.h:712
@ ZYDIS_BROADCAST_MODE_1_TO_32
Definition: DecoderTypes.h:700
@ ZYDIS_BROADCAST_MODE_8_TO_16
Definition: DecoderTypes.h:707
ZydisU8 ZydisISAExt
Defines the ZydisISAExt datatype.
Definition: EnumISAExt.h:4
ZydisU8 ZydisISASet
Defines the ZydisISASet datatype.
Definition: EnumISASet.h:4
ZydisU8 ZydisInstructionCategory
Defines the ZydisInstructionCategory datatype.
Definition: EnumInstructionCategory.h:4
ZydisU16 ZydisMnemonic
Defines the ZydisMnemonic datatype.
Definition: EnumMnemonic.h:4
ZydisU8 ZydisRegister
Defines the ZydisRegister datatype.
Definition: EnumRegister.h:4
Mnemonic constant definitions and helper functions.
Utility functions and constants for registers.
Defines decoder/encoder-shared macros and types.
#define ZYDIS_MAX_INSTRUCTION_LENGTH
Definition: SharedTypes.h:49
#define ZYDIS_MAX_OPERAND_COUNT
Definition: SharedTypes.h:50
ZydisU8 ZydisOperandEncoding
Defines the ZydisOperandEncoding datatype.
Definition: SharedTypes.h:212
ZydisU8 ZydisInstructionEncoding
Defines the ZydisInstructionEncoding datatype.
Definition: SharedTypes.h:365
ZydisU16 ZydisElementSize
Defines the ZydisElementSize datatype.
Definition: SharedTypes.h:162
ZydisU8 ZydisElementType
Defines the ZydisElementType datatype.
Definition: SharedTypes.h:136
ZydisU8 ZydisOperandVisibility
Defines the ZydisOperandVisibility datatype.
Definition: SharedTypes.h:268
ZydisU8 ZydisOperandAction
Defines the ZydisOperandAction datatype.
Definition: SharedTypes.h:302
ZydisU8 ZydisOpcodeMap
Defines the ZydisOpcodeMap map.
Definition: SharedTypes.h:411
ZydisU8 ZydisMachineMode
Defines the ZydisMachineMode datatype.
Definition: SharedTypes.h:65
ZydisU8 ZydisOperandType
Defines the ZydisOperandType datatype.
Definition: SharedTypes.h:171
Defines the ZydisDecodedInstruction struct.
Definition: DecoderTypes.h:818
struct ZydisDecodedInstruction_::@9::@18 vex
Detailed info about the VEX-prefix.
ZydisConversionMode mode
The AVX data-conversion mode.
Definition: DecoderTypes.h:961
ZydisU8 size
The physical displacement size, in bits.
Definition: DecoderTypes.h:1308
ZydisMnemonic mnemonic
The instruction-mnemonic.
Definition: DecoderTypes.h:826
ZydisU8 mmmm
Opcode-map specifier.
Definition: DecoderTypes.h:1244
ZydisU8 aaa
Embedded opmask register specifier.
Definition: DecoderTypes.h:1210
struct ZydisDecodedInstruction_::@9::@23 disp
Detailed info about displacement-bytes.
ZydisU8 SSS
Swizzle/broadcast/up-convert/down-convert/static-rounding controls.
Definition: DecoderTypes.h:1264
ZydisU8 has26
Definition: DecoderTypes.h:1014
struct ZydisDecodedInstruction_::@9::@24 imm[2]
Detailed info about immediate-bytes.
ZydisRegister reg
The mask register.
Definition: DecoderTypes.h:910
ZydisCPUFlagAction action
The CPU-flag action.
Definition: DecoderTypes.h:887
ZydisExceptionClass exceptionClass
The exception class.
Definition: DecoderTypes.h:993
struct ZydisDecodedInstruction_::@9::@15 prefixes
Detailed info about the legacy prefixes.
ZydisU64 instrAddress
The instruction address points at the current instruction (based on the initial instruction pointer).
Definition: DecoderTypes.h:875
ZydisI64 s
Definition: DecoderTypes.h:1336
ZydisU8 vvvv
NDS register specifier (inverted).
Definition: DecoderTypes.h:1086
ZydisU8 reg
Definition: DecoderTypes.h:1282
struct ZydisDecodedInstruction_::@7 avx
Extended info for AVX instructions.
ZydisU8 X
Extension of the SIB.index field.
Definition: DecoderTypes.h:1044
ZydisU8 B
Extension of the ModRM.rm, SIB.base, or opcode.reg field.
Definition: DecoderTypes.h:1048
ZydisU8 mm
Opcode-map specifier.
Definition: DecoderTypes.h:1174
ZydisU8 mod
Definition: DecoderTypes.h:1281
ZydisU8 offset
The offset of the displacement data, relative to the beginning of the instruction,...
Definition: DecoderTypes.h:1314
ZydisU8 pp
Compressed legacy prefix.
Definition: DecoderTypes.h:1094
ZydisBroadcastMode mode
The AVX broadcast-mode.
Definition: DecoderTypes.h:931
ZydisU8 base
Definition: DecoderTypes.h:1294
ZydisU8 operandCount
The number of instruction-operands.
Definition: DecoderTypes.h:862
ZydisU8 data[ZYDIS_MAX_INSTRUCTION_LENGTH]
The raw bytes of the decoded instruction.
Definition: DecoderTypes.h:834
ZydisU8 hasF3
Definition: DecoderTypes.h:1009
struct ZydisDecodedInstruction_::@9::@21 modrm
Detailed info about the ModRM-byte.
ZydisU8 has3E
Definition: DecoderTypes.h:1013
ZydisU8 R2
High-16 register specifier modifier (inverted).
Definition: DecoderTypes.h:1170
struct ZydisDecodedInstruction_::@7::@13 swizzle
Contains info about the AVX register-swizzle (KNC only).
ZydisU8 has36
Definition: DecoderTypes.h:1012
ZydisU8 E
Non-temporal/eviction hint.
Definition: DecoderTypes.h:1260
struct ZydisDecodedInstruction_::@6 accessedFlags[ZYDIS_CPUFLAG_MAX_VALUE+1]
Information about accessed CPU flags.
struct ZydisDecodedInstruction_::@7::@14 conversion
Contains info about the AVX data-conversion (KNC only).
ZydisSwizzleMode mode
The AVX register-swizzle mode.
Definition: DecoderTypes.h:951
ZydisU8 R
Extension of the ModRM.reg field.
Definition: DecoderTypes.h:1040
struct ZydisDecodedInstruction_::@8 meta
Meta info.
ZydisBool isDecoded
TRUE if the prefix got already decoded.
Definition: DecoderTypes.h:1028
ZydisISAExt isaExt
The ISA-set extension.
Definition: DecoderTypes.h:989
struct ZydisDecodedInstruction_::@9 raw
Extended info about different instruction-parts like ModRM, SIB or encoding-prefixes.
ZydisU8 z
Zeroing/Merging.
Definition: DecoderTypes.h:1190
ZydisU8 has65
Definition: DecoderTypes.h:1016
ZydisU8 hasF0
Definition: DecoderTypes.h:1008
ZydisU8 kkk
Embedded opmask register specifier.
Definition: DecoderTypes.h:1272
struct ZydisDecodedInstruction_::@7::@12 rounding
Contains info about the AVX rounding.
ZydisVectorLength vectorLength
The AVX vector-length.
Definition: DecoderTypes.h:897
ZydisI64 value
The displacement value.
Definition: DecoderTypes.h:1304
ZydisInstructionEncoding encoding
The instruction-encoding (default, 3DNow, VEX, EVEX, XOP).
Definition: DecoderTypes.h:838
ZydisU8 length
The length of the decoded instruction.
Definition: DecoderTypes.h:830
ZydisU8 has66
Definition: DecoderTypes.h:1017
ZydisInstructionAttributes attributes
Instruction attributes.
Definition: DecoderTypes.h:870
struct ZydisDecodedInstruction_::@7::@11 broadcast
Contains info about the AVX broadcast.
ZydisU8 has64
Definition: DecoderTypes.h:1015
ZydisRoundingMode mode
The AVX rounding-mode.
Definition: DecoderTypes.h:941
ZydisISASet isaSet
The ISA-set.
Definition: DecoderTypes.h:985
struct ZydisDecodedInstruction_::@7::@10 mask
Info about the embedded writemask-register (AVX-512 and KNC only).
ZydisBool isRelative
Signals, if the immediate value contains a relative offset.
Definition: DecoderTypes.h:1329
ZydisU8 m_mmmm
Opcode-map specifier.
Definition: DecoderTypes.h:1078
ZydisU8 hasF2
Definition: DecoderTypes.h:1010
ZydisMaskMode mode
The masking mode.
Definition: DecoderTypes.h:906
ZydisU8 V2
High-16 NDS/VIDX register specifier.
Definition: DecoderTypes.h:1206
ZydisBool hasSAE
Signals, if the sae functionality is enabled for the instruction.
Definition: DecoderTypes.h:966
ZydisU8 scale
Definition: DecoderTypes.h:1292
ZydisU8 L2
Vector-length specifier or rounding-control (most significant bit).
Definition: DecoderTypes.h:1194
ZydisU8 index
Definition: DecoderTypes.h:1293
ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT]
Detailed info for all instruction operands.
Definition: DecoderTypes.h:866
ZydisU8 operandWidth
The effective operand width.
Definition: DecoderTypes.h:854
ZydisU8 has67
Definition: DecoderTypes.h:1018
struct ZydisDecodedInstruction_::@9::@16 rex
Detailed info about the REX-prefix.
ZydisU8 addressWidth
The effective address width.
Definition: DecoderTypes.h:858
ZydisBool isStatic
Signals, if the broadcast is a static broadcast.
Definition: DecoderTypes.h:927
ZydisBool hasEvictionHint
Signals, if the instruction has a memory eviction-hint (KNC only).
Definition: DecoderTypes.h:970
ZydisU8 b
Broadcast/RC/SAE Context.
Definition: DecoderTypes.h:1202
struct ZydisDecodedInstruction_::@9::@19 evex
Detailed info about the EVEX-prefix.
ZydisU8 L
Vector-length specifier.
Definition: DecoderTypes.h:1090
ZydisU64 u
Definition: DecoderTypes.h:1335
ZydisU8 count
Definition: DecoderTypes.h:1007
ZydisBool isSigned
Signals, if the immediate value is signed.
Definition: DecoderTypes.h:1324
ZydisU8 stackWidth
The stack width.
Definition: DecoderTypes.h:850
ZydisU8 opcode
The instruction-opcode.
Definition: DecoderTypes.h:846
ZydisU8 has2E
Definition: DecoderTypes.h:1011
ZydisOpcodeMap opcodeMap
The opcode-map.
Definition: DecoderTypes.h:842
struct ZydisDecodedInstruction_::@9::@20 mvex
Detailed info about the MVEX-prefix.
ZydisBool isControlMask
Signals, if the mask-register is used as a control mask.
Definition: DecoderTypes.h:914
struct ZydisDecodedInstruction_::@9::@22 sib
Detailed info about the SIB-byte.
struct ZydisDecodedInstruction_::@9::@17 xop
Detailed info about the XOP-prefix.
ZydisMachineMode machineMode
The machine mode used to decode this instruction.
Definition: DecoderTypes.h:822
ZydisU8 rm
Definition: DecoderTypes.h:1283
ZydisInstructionCategory category
The instruction category.
Definition: DecoderTypes.h:981
ZydisU8 W
64-bit operand-size promotion.
Definition: DecoderTypes.h:1036
Defines the ZydisDecodedOperand struct.
Definition: DecoderTypes.h:93
ZydisU8 id
The operand-id.
Definition: DecoderTypes.h:97
ZydisU16 segment
Definition: DecoderTypes.h:186
ZydisOperandAction action
The operand-action.
Definition: DecoderTypes.h:109
struct ZydisDecodedOperand_::@0 reg
Extended info for register-operands.
ZydisMemoryOperandType type
The type of the memory operand.
Definition: DecoderTypes.h:149
ZydisOperandEncoding encoding
The operand-encoding.
Definition: DecoderTypes.h:113
ZydisI64 s
Definition: DecoderTypes.h:209
ZydisRegister segment
The segment register.
Definition: DecoderTypes.h:153
struct ZydisDecodedOperand_::@2 ptr
Extended info for pointer-operands.
struct ZydisDecodedOperand_::@1::@4 disp
Extended info for memory-operands with displacement.
ZydisRegister base
The base register.
Definition: DecoderTypes.h:157
ZydisU16 size
The logical size of the operand (in bits).
Definition: DecoderTypes.h:117
ZydisOperandVisibility visibility
The visibility of the operand.
Definition: DecoderTypes.h:105
ZydisElementSize elementSize
The size of a single element.
Definition: DecoderTypes.h:125
ZydisU32 offset
Definition: DecoderTypes.h:187
ZydisElementType elementType
The element-type.
Definition: DecoderTypes.h:121
ZydisI64 value
The displacement value.
Definition: DecoderTypes.h:178
ZydisBool isRelative
Signals, if the immediate value contains a relative offset.
Definition: DecoderTypes.h:202
ZydisBool hasDisplacement
Signals, if the displacement value is used.
Definition: DecoderTypes.h:174
ZydisU8 scale
The scale factor.
Definition: DecoderTypes.h:165
ZydisU16 elementCount
The number of elements.
Definition: DecoderTypes.h:129
struct ZydisDecodedOperand_::@1 mem
Extended info for memory-operands.
ZydisRegister index
The index register.
Definition: DecoderTypes.h:161
ZydisU64 u
Definition: DecoderTypes.h:208
ZydisBool isSigned
Signals, if the immediate value is signed.
Definition: DecoderTypes.h:197
struct ZydisDecodedOperand_::@3 imm
Extended info for immediate-operands.
ZydisOperandType type
The type of the operand.
Definition: DecoderTypes.h:101
ZydisRegister value
The register value.
Definition: DecoderTypes.h:138