pub struct Disassembler<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Disassembler<'a>
impl<'a> Disassembler<'a>
pub fn new( blob: &'a ProgramBlob, format: DisassemblyFormat, ) -> Result<Self, Error>
pub fn show_raw_bytes(&mut self, value: bool)
pub fn prefer_non_abi_reg_names(&mut self, value: bool)
pub fn prefer_unaliased(&mut self, value: bool)
pub fn prefer_offset_jump_targets(&mut self, value: bool)
pub fn emit_header(&mut self, value: bool)
pub fn emit_exports(&mut self, value: bool)
pub fn show_offsets(&mut self, value: bool)
pub fn display_gas(&mut self) -> Result<(), Error>
pub fn disassemble_into(&self, writer: impl Write) -> Result<(), Error>
Auto Trait Implementations§
impl<'a> Freeze for Disassembler<'a>
impl<'a> !RefUnwindSafe for Disassembler<'a>
impl<'a> Send for Disassembler<'a>
impl<'a> Sync for Disassembler<'a>
impl<'a> Unpin for Disassembler<'a>
impl<'a> !UnwindSafe for Disassembler<'a>
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