pub struct PlatformSymbolResolver { /* private fields */ }Expand description
Platform-specific symbol resolution
Implementations§
Source§impl PlatformSymbolResolver
impl PlatformSymbolResolver
Sourcepub fn initialize(&mut self) -> Result<(), ResolveError>
pub fn initialize(&mut self) -> Result<(), ResolveError>
Initialize symbol resolver for current platform
Sourcepub fn resolve_symbol(
&mut self,
address: usize,
) -> Result<SymbolInfo, ResolveError>
pub fn resolve_symbol( &mut self, address: usize, ) -> Result<SymbolInfo, ResolveError>
Resolve symbol for given address
Sourcepub fn resolve_batch(
&mut self,
addresses: &[usize],
) -> Vec<Result<SymbolInfo, ResolveError>>
pub fn resolve_batch( &mut self, addresses: &[usize], ) -> Vec<Result<SymbolInfo, ResolveError>>
Resolve symbols for multiple addresses in batch
Sourcepub fn get_module_info(&mut self, address: usize) -> Option<ModuleInfo>
pub fn get_module_info(&mut self, address: usize) -> Option<ModuleInfo>
Get module information for address
Sourcepub fn get_statistics(&self) -> ResolverStatistics
pub fn get_statistics(&self) -> ResolverStatistics
Get resolver statistics
Sourcepub fn clear_cache(&mut self)
pub fn clear_cache(&mut self)
Clear symbol cache
Sourcepub fn update_config(&mut self, config: ResolverConfig)
pub fn update_config(&mut self, config: ResolverConfig)
Update resolver configuration
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PlatformSymbolResolver
impl RefUnwindSafe for PlatformSymbolResolver
impl Send for PlatformSymbolResolver
impl Sync for PlatformSymbolResolver
impl Unpin for PlatformSymbolResolver
impl UnwindSafe for PlatformSymbolResolver
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more