- Main Page
- Modules
- Data Structures
- Files

- Search for |

- File List
- Globals

# xed-inst-printer.h File Reference

`#include "xed-types.h"`
`#include "xed-decoded-inst.h"`
`#include "xed-syntax-enum.h"`

Go to the source code of this file.

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

## Detailed Description

Definition in file xed-inst-printer.h.