[][src]Struct xed_sys::xed_print_info_t

#[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,
    pub truncate_eip_eosz16: 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

p: *const xed_decoded_inst_t

the decoded instruction to print

buf: *mut c_char

pointer to the output buffer

blen: c_int

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

runtime_address: u64

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: xed_disassembly_callback_fn_t

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

context: *mut c_void

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

syntax: xed_syntax_enum_t

default is Intel-syntax (dest on left)

format_options_valid: c_int

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

format_options: xed_format_options_temitted: xed_bool_t

internal, do not use

operand_indx: c_uint

internal, do not use

skip_operand: c_uint

internal, do not use

extra_index_operand: xed_reg_enum_t

internal, do not use

implicit: xed_bool_t

internal, do not use

truncate_eip_eosz16: xed_bool_t

internal, do not use

Trait Implementations

impl Clone for xed_print_info_t[src]

impl Copy for xed_print_info_t[src]

impl Debug for xed_print_info_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.