Struct binaryninja::symbol::Symbol
source · [−]pub struct Symbol { /* private fields */ }
Implementations
sourceimpl Symbol
impl Symbol
sourcepub fn builder(ty: SymbolType, raw_name: &str, addr: u64) -> SymbolBuilder
pub fn builder(ty: SymbolType, raw_name: &str, addr: u64) -> SymbolBuilder
To create a new symbol, you need to create a symbol builder, customize that symbol, then add SymbolBuilder::create
it into a Ref<Symbol>
:
Symbol::new().short_name("hello").full_name("hello").create();
pub fn sym_type(&self) -> SymbolType
pub fn binding(&self) -> Binding
pub fn full_name(&self) -> BnString
pub fn short_name(&self) -> BnString
pub fn raw_name(&self) -> BnString
pub fn address(&self) -> u64
pub fn auto_defined(&self) -> bool
pub fn imported_function_from_import_address_symbol(
sym: &Symbol,
addr: u64
) -> Ref<Symbol>
Trait Implementations
sourceimpl<'a> CoreArrayWrapper<'a> for Symbol
impl<'a> CoreArrayWrapper<'a> for Symbol
sourceimpl CoreOwnedArrayProvider for Symbol
impl CoreOwnedArrayProvider for Symbol
sourceimpl RefCountable for Symbol
impl RefCountable for Symbol
sourceimpl ToOwned for Symbol
impl ToOwned for Symbol
impl Eq for Symbol
impl Send for Symbol
impl StructuralEq for Symbol
impl Sync for Symbol
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more