Zydis  v3.2.0
ZydisDecodedInstruction_ Struct Reference

Information about a decoded instruction. More...

#include <DecoderTypes.h>

Collaboration diagram for ZydisDecodedInstruction_:

Data Structures

struct  ZydisDecodedInstructionAccessedFlags_
 Information about accessed CPU flags. More...
 
struct  ZydisDecodedInstructionAvx_
 Extended info for AVX instructions. More...
 
struct  ZydisDecodedInstructionMeta_
 Meta info. More...
 
struct  ZydisDecodedInstructionRaw_
 Detailed info about different instruction-parts like ModRM, SIB or encoding-prefixes. More...
 

Data Fields

ZydisMachineMode machine_mode
 The machine mode used to decode this instruction.
 
ZydisMnemonic mnemonic
 The instruction-mnemonic.
 
ZyanU8 length
 The length of the decoded instruction.
 
ZydisInstructionEncoding encoding
 The instruction-encoding (LEGACY, 3DNOW, VEX, EVEX, XOP).
 
ZydisOpcodeMap opcode_map
 The opcode-map.
 
ZyanU8 opcode
 The instruction-opcode.
 
ZyanU8 stack_width
 The stack width.
 
ZyanU8 operand_width
 The effective operand width.
 
ZyanU8 address_width
 The effective address width.
 
ZyanU8 operand_count
 The number of instruction-operands.
 
ZydisDecodedOperand operands [ZYDIS_MAX_OPERAND_COUNT]
 Detailed info for all instruction operands. More...
 
ZydisInstructionAttributes attributes
 Instruction attributes.
 
struct ZydisDecodedInstruction_::ZydisDecodedInstructionAccessedFlags_ accessed_flags [ZYDIS_CPUFLAG_MAX_VALUE+1]
 
ZydisCPUFlags cpu_flags_read
 A mask containing the CPU flags read by the instruction. More...
 
ZydisCPUFlags cpu_flags_written
 A mask containing the CPU flags written by the instruction. More...
 
ZydisFPUFlags fpu_flags_read
 A mask containing the FPU flags read by the instruction.
 
ZydisFPUFlags fpu_flags_written
 A mask containing the FPU flags written by the instruction.
 
struct ZydisDecodedInstruction_::ZydisDecodedInstructionAvx_ avx
 
struct ZydisDecodedInstruction_::ZydisDecodedInstructionMeta_ meta
 
struct ZydisDecodedInstruction_::ZydisDecodedInstructionRaw_ raw
 

Detailed Description

Information about a decoded instruction.

Field Documentation

◆ cpu_flags_read

ZydisCPUFlags cpu_flags_read

A mask containing the CPU flags read by the instruction.

The bits in this mask correspond to the actual bits in the FLAGS/EFLAGS/RFLAGS register.

This mask includes the actions TESTED and TESTED_MODIFIED.

◆ cpu_flags_written

ZydisCPUFlags cpu_flags_written

A mask containing the CPU flags written by the instruction.

The bits in this mask correspond to the actual bits in the FLAGS/EFLAGS/RFLAGS register.

This mask includes the actions TESTED_MODIFIED, SET_0, SET_1 and UNDEFINED.

◆ operands

ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT]

Detailed info for all instruction operands.

Explicit operands are guaranteed to be in the front and ordered as they are printed by the formatter in Intel mode. No assumptions can be made about the order of hidden operands, except that they always located behind the explicit operands.


The documentation for this struct was generated from the following file: