Zydis v4.1.1
Loading...
Searching...
No Matches
ZydisDecoderContext_ Struct Reference

The decoder context is used to preserve some internal state between subsequent decode operations for THE SAME instruction. More...

#include <DecoderTypes.h>

Data Structures

struct  [struct].vector_unified
 Contains some cached REX/XOP/VEX/EVEX/MVEX values to provide uniform access. More...
struct  [struct].reg_info
 Information about encoded operand registers. More...
struct  [struct].evex
 Internal EVEX-specific information. More...
struct  [struct].mvex
 Internal MVEX-specific information. More...

Data Fields

const void * definition
 A pointer to the internal instruction definition.
ZyanU8 eosz_index
 Contains the effective operand-size index.
ZyanU8 easz_index
 Contains the effective address-size index.
struct  vector_unified
struct  reg_info
struct  evex
struct  mvex
ZyanU8 cd8_scale
 The scale factor for EVEX/MVEX compressed 8-bit displacement values.

Detailed Description

The decoder context is used to preserve some internal state between subsequent decode operations for THE SAME instruction.

The context is initialized by ZydisDecoderDecodeInstruction and required by e.g. ZydisDecoderDecodeOperands.

All fields in this struct should be considered as "private". Any changes may lead to unexpected behavior.

This struct is neither ABI nor API stable!

Field Documentation

◆ cd8_scale

ZyanU8 cd8_scale

The scale factor for EVEX/MVEX compressed 8-bit displacement values.

◆ definition

const void* definition

A pointer to the internal instruction definition.

◆ easz_index

ZyanU8 easz_index

Contains the effective address-size index.

0 = 16 bit, 1 = 32 bit, 2 = 64 bit

◆ eosz_index

ZyanU8 eosz_index

Contains the effective operand-size index.

0 = 16 bit, 1 = 32 bit, 2 = 64 bit

◆ evex

◆ mvex

◆ reg_info

◆ vector_unified


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