Struct smda::Disassembler
source · pub struct Disassembler { /* private fields */ }Implementations§
source§impl Disassembler
impl Disassembler
pub fn get_bitmask(&self) -> u64
pub fn new() -> Result<Disassembler>
pub fn load_file(file_name: &str) -> Result<Vec<u8>>
pub fn disassemble_file( file_name: &str, high_accuracy: bool, resolve_tailcalls: bool, data: Option<&Vec<u8>> ) -> Result<DisassemblyReport>
pub fn analyse_buffer( &mut self, bin: BinaryInfo, high_accuracy: bool, resolve_tailcalls: bool ) -> Result<&DisassemblyResult>
pub fn analyze_loop_instruction( &self, i: &Insn<'_>, state: &mut FunctionAnalysisState ) -> Result<()>
pub fn analyze_cond_jmp_instruction( &self, i: &Insn<'_>, state: &mut FunctionAnalysisState ) -> Result<Vec<(u64, u64)>>
pub fn analyze_end_instruction( &self, state: &mut FunctionAnalysisState ) -> Result<()>
pub fn resolve_symbol(&self, address: u64) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Disassembler
impl !Send for Disassembler
impl !Sync for Disassembler
impl Unpin for Disassembler
impl UnwindSafe for Disassembler
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