[−][src]Struct symbolic_symcache::SymCache
A platform independent symbolication cache.
Use SymCacheWriter
writer to create SymCaches, including the conversion from object files.
Methods
impl<'a> SymCache<'a>
[src]
pub fn parse(data: &'a [u8]) -> Result<Self, SymCacheError>
[src]
Parses a SymCache from a binary buffer.
pub fn version(&self) -> u32
[src]
The version of the SymCache file format.
pub fn arch(&self) -> Arch
[src]
The architecture of the symbol file.
pub fn debug_id(&self) -> DebugId
[src]
The debuig identifier of the cache file.
pub fn has_line_info(&self) -> bool
[src]
Returns true if line information is included.
pub fn has_file_info(&self) -> bool
[src]
Returns true if file information is included.
ⓘImportant traits for Functions<'a>pub fn functions(&self) -> Functions<'a>
[src]
ⓘImportant traits for Functions<'a>
Returns an iterator over all functions.
pub fn lookup(&self, addr: u64) -> Result<Lookup<'a, '_>, SymCacheError>
[src]
Given an address this looks up the symbol at that point.
Because of inling information this returns a vector of zero or more symbols. If nothing is found then the return value will be an empty vector.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,