Struct xed_sys::xed_interface::xed_print_info_t [] [src]

#[repr(C)]
pub struct xed_print_info_t { pub p: *const xed_decoded_inst_t, pub buf: *mut c_char, pub blen: c_int, pub runtime_address: u64, pub disassembly_callback: xed_disassembly_callback_fn_t, pub context: *mut c_void, pub syntax: xed_syntax_enum_t, pub format_options_valid: c_int, pub format_options: xed_format_options_t, pub emitted: xed_bool_t, pub operand_indx: c_uint, pub skip_operand: c_uint, pub extra_index_operand: xed_reg_enum_t, pub implicit: xed_bool_t, }

@ingroup PRINT 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.

Fields

the decoded instruction to print

pointer to the output buffer

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

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

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

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

default is Intel-syntax (dest on left)

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

internal, do not use

internal, do not use

internal, do not use

internal, do not use

internal, do not use

Trait Implementations

impl Debug for xed_print_info_t
[src]

Formats the value using the given formatter.

impl Copy for xed_print_info_t
[src]

impl Clone for xed_print_info_t
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more