Struct binaryninja::symbol::Symbol
[−]pub struct Symbol { /* private fields */ }
Implementations
impl Symbol
impl Symbol
pub fn builder<S: BnStrCompatible>(
ty: SymbolType,
raw_name: S,
addr: u64
) -> SymbolBuilder<S>
pub fn builder<S: BnStrCompatible>(
ty: SymbolType,
raw_name: S,
addr: u64
) -> SymbolBuilder<S>
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
Trait Implementations
impl<'a> CoreArrayWrapper<'a> for Symbol
impl<'a> CoreArrayWrapper<'a> for Symbol
impl CoreOwnedArrayProvider for Symbol
impl CoreOwnedArrayProvider for Symbol
impl RefCountable for Symbol
impl RefCountable for Symbol
impl 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