- Main Page
- Modules
- Data Structures
- Files

- Search for |

- File List
- Globals

# xed-agen.h File Reference

`#include "xed-decoded-inst.h"`
`#include "xed-error-enum.h"`

Go to the source code of this file.

## 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.

## Detailed Description

Definition in file xed-agen.h.