xed_print_info_t Struct Reference
[Printing (disassembling) Instructions]

This contains the information used by the various disassembly printers. More...

#include <xed-print-info.h>


Data Fields

int blen
 length of the output buffer. (bytes) Must be > 25 to start.
char * buf
 pointer to the output buffer
void * context
 passed to disassembly callback. Can be zero if not used.
xed_disassembly_callback_fn_t disassembly_callback
 disassembly_callback MUST be set to zero if not used! If zero, the default disassembly callback is used (if one has been registered).
xed_bool_t emitted
 internal, do not use
xed_reg_enum_t extra_index_operand
 internal, do not use
xed_format_options_t format_options
int format_options_valid
 1=indicated the format_options field is valid, 0=use default formating options from xed_format_set_options().
unsigned int operand_indx
 internal, do not use
const xed_decoded_inst_tp
 the decoded instruction to print
xed_uint64_t runtime_address
 program counter location.
unsigned int skip_operand
 internal, do not use
xed_syntax_enum_t syntax
 default is Intel-syntax (dest on left)


Detailed Description

This contains the information used by the various disassembly printers.

Call xed_init_print_info to initialize the fields. Then change the required and optional fields when required.

Definition at line 45 of file xed-print-info.h.


Field Documentation

int blen

length of the output buffer. (bytes) Must be > 25 to start.

Definition at line 58 of file xed-print-info.h.

char* buf

pointer to the output buffer

Definition at line 55 of file xed-print-info.h.

void* context

passed to disassembly callback. Can be zero if not used.

Definition at line 74 of file xed-print-info.h.

xed_disassembly_callback_fn_t disassembly_callback

disassembly_callback MUST be set to zero if not used! If zero, the default disassembly callback is used (if one has been registered).

Definition at line 71 of file xed-print-info.h.

xed_bool_t emitted

internal, do not use

Definition at line 90 of file xed-print-info.h.

xed_reg_enum_t extra_index_operand

internal, do not use

Definition at line 99 of file xed-print-info.h.

xed_format_options_t format_options

Definition at line 82 of file xed-print-info.h.

int format_options_valid

1=indicated the format_options field is valid, 0=use default formating options from xed_format_set_options().

Definition at line 81 of file xed-print-info.h.

unsigned int operand_indx

internal, do not use

Definition at line 93 of file xed-print-info.h.

const xed_decoded_inst_t* p

the decoded instruction to print

Definition at line 52 of file xed-print-info.h.

xed_uint64_t runtime_address

program counter location.

Must be zero if not used. (Sometimes instructions are disassembled in a temporary buffer at a different location than where they may or will exist in memory).

Definition at line 67 of file xed-print-info.h.

unsigned int skip_operand

internal, do not use

Definition at line 96 of file xed-print-info.h.

xed_syntax_enum_t syntax

default is Intel-syntax (dest on left)

Definition at line 77 of file xed-print-info.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jan 21 02:17:00 2015 for XED by  doxygen 1.5.1-p1