#[repr(C)]
pub struct xed_format_options_t { pub hex_address_before_symbolic_name: c_uint, pub xml_a: c_uint, pub xml_f: c_uint, pub omit_unit_scale: c_uint, pub no_sign_extend_signed_immediates: c_uint, pub write_mask_curly_k0: c_uint, pub lowercase_hex: xed_bool_t, pub positive_memory_displacements: xed_bool_t, }
Expand description

Options for the disasembly formatting functions. Set once during initialization by a calling #xed_format_set_options @ingroup PRINT

Fields§

§hex_address_before_symbolic_name: c_uint

by default, XED prints the hex address before any symbolic name for branch targets. If set to zero, then XED will not print the hex address before a valid symbolic name.

§xml_a: c_uint

Simple XML output format for the Intel syntax disassembly.

§xml_f: c_uint

Include flags in the XML formatting (must also supply xml_a)

§omit_unit_scale: c_uint

omit unit scale “*1”

§no_sign_extend_signed_immediates: c_uint

do not sign extend signed immediates

§write_mask_curly_k0: c_uint

write-mask-with-curly-brackets, omit k0

§lowercase_hex: xed_bool_t

lowercase hexadecimal

§positive_memory_displacements: xed_bool_t

Show negative memory displacements as positive numbers.

Trait Implementations§

source§

impl Clone for xed_format_options_t

source§

fn clone(&self) -> xed_format_options_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for xed_format_options_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for xed_format_options_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.