Intel® X86 Encoder Decoder: xed-agen.h File Reference

Intel® X86 Encoder Decoder

Loading...
Searching...
No Matches
xed-agen.h File Reference
`#include "xed-decoded-inst.h"`
`#include "xed-error-enum.h"`

## Typedefs
typedef xed_uint64_t(* | xed_register_callback_fn_t) (xed_reg_enum_t reg, void *context, xed_bool_t *error)
| A function for obtaining register values.
typedef xed_uint64_t(* | xed_segment_base_callback_fn_t) (xed_reg_enum_t reg, void *context, xed_bool_t *error)
| A function for obtaining the segment base values.

## Functions
XED_DLL_EXPORT xed_error_enum_t | xed_agen (xed_decoded_inst_t *xedd, unsigned int memop_index, void *context, xed_uint64_t *out_address)
| Using the registered callbacks, compute the memory address for a specified memop in a decoded instruction.
XED_DLL_EXPORT void | xed_agen_register_callback (xed_register_callback_fn_t register_fn, xed_segment_base_callback_fn_t segment_fn)
| Initialize the callback functions.