Data Structures | |
struct | xed_format_options_t |
Options for the disasembly formatting functions. More... | |
Legacy printers without context parameter | |
XED_DLL_EXPORT xed_bool_t | xed_format (xed_syntax_enum_t syntax, const xed_decoded_inst_t *xedd, char *out_buffer, int buffer_len, xed_uint64_t runtime_instruction_address) |
Disassemble the decoded instruction using the specified syntax. | |
XED_DLL_EXPORT xed_bool_t | xed_format_att (const xed_decoded_inst_t *xedd, char *out_buffer, xed_uint32_t buffer_len, xed_uint64_t runtime_instruction_address) |
Disassemble the decoded instruction using the ATT SYSV syntax. | |
XED_DLL_EXPORT xed_bool_t | xed_format_intel (const xed_decoded_inst_t *xedd, char *out_buffer, xed_uint32_t buffer_len, xed_uint64_t runtime_instruction_address) |
Disassemble the decoded instruction using the Intel syntax. | |
XED_DLL_EXPORT xed_bool_t | xed_format_xed (const xed_decoded_inst_t *xedd, char *out_buffer, xed_uint32_t buffer_len, xed_uint64_t runtime_instruction_address) |
Disassemble the decoded instruction using the XED syntax providing all operand resources (implicit, explicit, suppressed). | |
Printers with context parameter | |
XED_DLL_EXPORT xed_bool_t | xed_format_att_context (const xed_decoded_inst_t *xedd, char *out_buffer, xed_uint32_t buffer_len, xed_uint64_t runtime_instruction_address, void *context) |
Disassemble the decoded instruction using the ATT SYSV syntax. | |
XED_DLL_EXPORT xed_bool_t | xed_format_context (xed_syntax_enum_t syntax, const xed_decoded_inst_t *xedd, char *out_buffer, int buffer_len, xed_uint64_t runtime_instruction_address, void *context) |
Disassemble the decoded instruction using the specified syntax. | |
XED_DLL_EXPORT xed_bool_t | xed_format_intel_context (const xed_decoded_inst_t *xedd, char *out_buffer, xed_uint32_t buffer_len, xed_uint64_t runtime_instruction_address, void *context) |
Disassemble the decoded instruction using the Intel syntax. | |
Formatting options | |
XED_DLL_EXPORT void | xed_format_set_options (xed_format_options_t format_options) |
Optionally, customize the disassembly formatting options by passing in a xed_format_options_t structure. | |
Typedefs | |
typedef int(* | xed_disassembly_callback_fn_t )(xed_uint64_t address, char *symbol_buffer, xed_uint32_t buffer_length, xed_uint64_t *offset, void *context) |
Functions | |
XED_DLL_EXPORT void | xed_register_disassembly_callback (xed_disassembly_callback_fn_t f) |
Register a disassembly call back function of type xed_disassembly_callback_fn_t to get called when the disassembler needs to get a symbol and offset for an address. |
If using the callback, register a callback once before you program creates its threads.
|
Definition at line 58 of file xed-disas.h. |
|
Disassemble the decoded instruction using the specified syntax. The output buffer must be at least 25 bytes long. Returns true if disassembly proceeded without errors.
|
|
Disassemble the decoded instruction using the ATT SYSV syntax. The output buffer must be at least 16 bytes long. Returns true if disassembly proceeded without errors.
|
|
Disassemble the decoded instruction using the ATT SYSV syntax. The output buffer must be at least 16 bytes long. Returns true if disassembly proceeded without errors.
|
|
Disassemble the decoded instruction using the specified syntax. The output buffer must be at least 25 bytes long. Returns true if disassembly proceeded without errors.
|
|
Disassemble the decoded instruction using the Intel syntax. The output buffer must be at least 16 bytes long. Returns true if disassembly proceeded without errors.
|
|
Disassemble the decoded instruction using the Intel syntax. The output buffer must be at least 16 bytes long. Returns true if disassembly proceeded without errors.
|
|
Optionally, customize the disassembly formatting options by passing in a xed_format_options_t structure.
|
|
Disassemble the decoded instruction using the XED syntax providing all operand resources (implicit, explicit, suppressed). The output buffer must be at least 25 bytes long. Returns true if disassembly proceeded without errors.
|
|
Register a disassembly call back function of type xed_disassembly_callback_fn_t to get called when the disassembler needs to get a symbol and offset for an address.
|