pub struct DefaultSpecializedFormatterTraitOptions;
Expand description
Default SpecializedFormatter<TraitOptions>
options. It doesn’t override any const
or fn
Trait Implementations§
source§impl SpecializedFormatterTraitOptions for DefaultSpecializedFormatterTraitOptions
impl SpecializedFormatterTraitOptions for DefaultSpecializedFormatterTraitOptions
source§const ENABLE_SYMBOL_RESOLVER: bool = false
const ENABLE_SYMBOL_RESOLVER: bool = false
Enables support for a symbol resolver. This is disabled by default. If this
is disabled, you must not pass in a symbol resolver to the constructor. Read more
source§const ENABLE_DB_DW_DD_DQ: bool = false
const ENABLE_DB_DW_DD_DQ: bool = false
source§unsafe fn verify_output_has_enough_bytes_left() -> bool
unsafe fn verify_output_has_enough_bytes_left() -> bool
The formatter makes sure that the
output
string has at least 300 bytes left at
the start of format()
and also after appending symbols to output
. This is enough
space for all formatted instructions. Read moresource§fn space_after_operand_separator(_options: &FastFormatterOptions) -> bool
fn space_after_operand_separator(_options: &FastFormatterOptions) -> bool
Add a space after the operand separator Read more
source§fn rip_relative_addresses(_options: &FastFormatterOptions) -> bool
fn rip_relative_addresses(_options: &FastFormatterOptions) -> bool
Show
RIP+displ
or the virtual address Read moresource§fn use_pseudo_ops(_options: &FastFormatterOptions) -> bool
fn use_pseudo_ops(_options: &FastFormatterOptions) -> bool
Use pseudo instructions Read more
source§fn show_symbol_address(_options: &FastFormatterOptions) -> bool
fn show_symbol_address(_options: &FastFormatterOptions) -> bool
Show the original value after the symbol name Read more
source§fn always_show_segment_register(_options: &FastFormatterOptions) -> bool
fn always_show_segment_register(_options: &FastFormatterOptions) -> bool
Always show the effective segment register. If the option is
false
, only show the segment register if
there’s a segment override prefix. Read moresource§fn always_show_memory_size(_options: &FastFormatterOptions) -> bool
fn always_show_memory_size(_options: &FastFormatterOptions) -> bool
Always show the size of memory operands Read more
source§fn uppercase_hex(_options: &FastFormatterOptions) -> bool
fn uppercase_hex(_options: &FastFormatterOptions) -> bool
Use uppercase hex digits Read more
source§fn use_hex_prefix(_options: &FastFormatterOptions) -> bool
fn use_hex_prefix(_options: &FastFormatterOptions) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for DefaultSpecializedFormatterTraitOptions
impl Send for DefaultSpecializedFormatterTraitOptions
impl Sync for DefaultSpecializedFormatterTraitOptions
impl Unpin for DefaultSpecializedFormatterTraitOptions
impl UnwindSafe for DefaultSpecializedFormatterTraitOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more