XED
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xed_decoded_inst_s Struct Reference

The main container for instructions. More...

#include <xed-decoded-inst.h>

Data Fields

union {
   const xed_uint8_t *   _dec
 
   xed_uint8_t *   _enc
 
_byte_array
 
xed_uint8_t _decoded_length
 
const xed_inst_t_inst
 when we decode an instruction, we set the _inst and get the properites of that instruction here. More...
 
xed_uint8_t _n_operand_order
 Length of the _operand_order[] array. More...
 
xed_uint8_t _operand_order [XED_ENCODE_ORDER_MAX_OPERANDS]
 Used for encode operand ordering. Not set by decode. More...
 
xed_operand_storage_t _operands
 Storage for information discovered during decoding. More...
 
union {
   struct xed_encoder_vars_s *   ev
 
   xed_uint64_t   user_data
 
u
 

Detailed Description

The main container for instructions.

After decode, it holds an array of operands with derived information from decode and also valid xed_inst_t pointer which describes the operand templates and the operand order. See Decoding Instructions for API documentation.

Definition at line 58 of file xed-decoded-inst.h.

Field Documentation

union { ... } _byte_array
const xed_uint8_t* _dec

Definition at line 79 of file xed-decoded-inst.h.

xed_uint8_t _decoded_length

Definition at line 69 of file xed-decoded-inst.h.

xed_uint8_t* _enc

Definition at line 78 of file xed-decoded-inst.h.

const xed_inst_t* _inst

when we decode an instruction, we set the _inst and get the properites of that instruction here.

This also points to the operands template array.

Definition at line 74 of file xed-decoded-inst.h.

xed_uint8_t _n_operand_order

Length of the _operand_order[] array.

Definition at line 67 of file xed-decoded-inst.h.

xed_uint8_t _operand_order[XED_ENCODE_ORDER_MAX_OPERANDS]

Used for encode operand ordering. Not set by decode.

Definition at line 65 of file xed-decoded-inst.h.

Storage for information discovered during decoding.

Also used by encode.

Definition at line 61 of file xed-decoded-inst.h.

struct xed_encoder_vars_s* ev

Definition at line 89 of file xed-decoded-inst.h.

union { ... } u
xed_uint64_t user_data

Definition at line 87 of file xed-decoded-inst.h.


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