pub struct Symbol<'a> { /* private fields */ }
Expand description
Structure which reprents an ELF symbol
Implementations§
§impl Symbol<'_>
impl Symbol<'_>
pub fn get_type(&self) -> Type
pub fn get_type(&self) -> Type
The symbol’s type provides a general classification for the associated entity
pub fn information(&self) -> u8
pub fn information(&self) -> u8
This member specifies the symbol’s type and binding attributes.
pub fn other(&self) -> u8
pub fn other(&self) -> u8
Alias for Symbol::visibility
pub fn section_idx(&self) -> u16
pub fn section_idx(&self) -> u16
ELF Section index associated with the symbol
pub fn visibility(&self) -> Visibility
pub fn visibility(&self) -> Visibility
Symbol visibility
pub fn symbol_version(&self) -> Option<SymbolVersion<'_>>
pub fn symbol_version(&self) -> Option<SymbolVersion<'_>>
Return the SymbolVersion associated with this symbol (if any)
pub fn demangled_name(&self) -> String
pub fn demangled_name(&self) -> String
Try to demangle the symbol or return an empty string if it is not possible
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Symbol<'a>
impl<'a> !Send for Symbol<'a>
impl<'a> !Sync for Symbol<'a>
impl<'a> Unpin for Symbol<'a>
impl<'a> UnwindSafe for Symbol<'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