Zydis  v4.1.0
ZydisFormatterContext_ Struct Reference

Context structure that that is passed to all formatter. More...

#include <Formatter.h>

Collaboration diagram for ZydisFormatterContext_:

Data Fields

const ZydisDecodedInstructioninstruction
 A pointer to the ZydisDecodedInstruction struct. More...
 
const ZydisDecodedOperandoperands
 A pointer to the first ZydisDecodedOperand struct of the instruction. More...
 
const ZydisDecodedOperandoperand
 A pointer to the ZydisDecodedOperand struct. More...
 
ZyanU64 runtime_address
 The runtime address of the instruction. More...
 
void * user_data
 A pointer to user-defined data. More...
 

Detailed Description

Context structure that that is passed to all formatter.

Field Documentation

◆ instruction

const ZydisDecodedInstruction* instruction

A pointer to the ZydisDecodedInstruction struct.

◆ operand

const ZydisDecodedOperand* operand

A pointer to the ZydisDecodedOperand struct.

◆ operands

const ZydisDecodedOperand* operands

A pointer to the first ZydisDecodedOperand struct of the instruction.

◆ runtime_address

ZyanU64 runtime_address

The runtime address of the instruction.

◆ user_data

void* user_data

A pointer to user-defined data.

This is the value that was previously passed as the user_data argument to ZydisFormatterFormatInstruction or ZydisFormatterTokenizeOperand.


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