pub struct DisassemblyTextRenderer { /* private fields */ }
Implementations§
source§impl DisassemblyTextRenderer
impl DisassemblyTextRenderer
pub unsafe fn ref_from_raw( handle: NonNull<BNDisassemblyTextRenderer>, ) -> Ref<Self>
pub fn from_function( func: &Function, settings: Option<&DisassemblySettings>, ) -> Ref<Self>
pub fn from_llil<A: Architecture, M: FunctionMutability, F: FunctionForm>( func: &LowLevelILFunction<A, M, F>, settings: Option<&DisassemblySettings>, ) -> Ref<Self>
pub fn from_mlil( func: &MediumLevelILFunction, settings: Option<&DisassemblySettings>, ) -> Ref<Self>
pub fn from_hlil( func: &HighLevelILFunction, settings: Option<&DisassemblySettings>, ) -> Ref<Self>
pub fn function(&self) -> Ref<Function>
pub fn llil<M: FunctionMutability, F: FunctionForm>( &self, ) -> Ref<LowLevelILFunction<CoreArchitecture, M, F>>
pub fn mlil(&self) -> Ref<MediumLevelILFunction>
pub fn hlil(&self) -> Ref<HighLevelILFunction>
pub fn basic_block(&self) -> Option<Ref<BasicBlock<NativeBlock>>>
pub fn set_basic_block(&self, value: Option<&BasicBlock<NativeBlock>>)
pub fn arch(&self) -> CoreArchitecture
pub fn set_arch(&self, value: CoreArchitecture)
pub fn settings(&self) -> Ref<DisassemblySettings>
pub fn set_settings(&self, settings: Option<&DisassemblySettings>)
pub fn is_il(&self) -> bool
pub fn has_data_flow(&self) -> bool
sourcepub fn instruction_annotations(&self, addr: u64) -> Array<InstructionTextToken>
pub fn instruction_annotations(&self, addr: u64) -> Array<InstructionTextToken>
Gets the instructions annotations, like displaying register constant values.
sourcepub fn instruction_text(
&self,
addr: u64,
) -> Option<(Array<DisassemblyTextLine>, usize)>
pub fn instruction_text( &self, addr: u64, ) -> Option<(Array<DisassemblyTextLine>, usize)>
Gets the disassembly instruction text only, with no annotations.
pub fn disassembly_text( &self, addr: u64, ) -> Option<(Array<DisassemblyTextLine>, usize)>
pub fn is_integer_token(token_type: InstructionTextTokenType) -> bool
pub fn reset_deduplicated_comments(&self)
pub fn symbol_tokens( &self, addr: u64, size: usize, operand: Option<usize>, ) -> Option<Array<InstructionTextToken>>
pub fn stack_var_reference_tokens( &self, stack_ref: StackVariableReference, ) -> Array<InstructionTextToken>
pub fn integer_token( &self, int_token: InstructionTextToken, location: impl Into<Location>, ) -> Array<InstructionTextToken>
pub fn wrap_comment<S1: BnStrCompatible, S2: BnStrCompatible, S3: BnStrCompatible>( &self, cur_line: DisassemblyTextLine, comment: S1, has_auto_annotations: bool, leading_spaces: S2, indent_spaces: S3, ) -> Array<DisassemblyTextLine>
Trait Implementations§
source§impl ToOwned for DisassemblyTextRenderer
impl ToOwned for DisassemblyTextRenderer
source§type Owned = Ref<DisassemblyTextRenderer>
type Owned = Ref<DisassemblyTextRenderer>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl Freeze for DisassemblyTextRenderer
impl RefUnwindSafe for DisassemblyTextRenderer
impl !Send for DisassemblyTextRenderer
impl !Sync for DisassemblyTextRenderer
impl Unpin for DisassemblyTextRenderer
impl UnwindSafe for DisassemblyTextRenderer
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