Struct symbolic_symcache::SymCache [−][src]
pub struct SymCache<'a> { /* fields omitted */ }
A platform independent symbolication cache.
Use SymCacheWriter
writer to create SymCaches,
including the conversion from object files.
Implementations
impl<'a> SymCache<'a>
[src]
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 is_latest(&self) -> bool
[src]
Returns whether this cache is up-to-date.
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.
pub fn functions(&self) -> Functions<'a>ⓘ
[src]
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 inline 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
impl<'a> RefUnwindSafe for SymCache<'a>
impl<'a> RefUnwindSafe for SymCache<'a>
impl<'a> UnwindSafe for SymCache<'a>
impl<'a> UnwindSafe for SymCache<'a>