[−][src]Trait findshlibs::SharedLibrary
A trait representing a shared library that is loaded in this process.
Associated Types
type Segment: Segment<SharedLibrary = Self>
The associated segment type for this shared library.
type SegmentIter: Debug + Iterator<Item = Self::Segment>
An iterator over a shared library's segments.
Required methods
fn name(&self) -> &OsStr
Get the name of this shared library.
fn id(&self) -> Option<SharedLibraryId>
Get the debug-id of this shared library if available.
fn segments(&self) -> Self::SegmentIter
Iterate over this shared library's segments.
fn virtual_memory_bias(&self) -> Bias
Get the bias of this shared library.
See the module documentation for details.
fn each<F, C>(f: F) where
F: FnMut(&Self) -> C,
C: Into<IterationControl>,
F: FnMut(&Self) -> C,
C: Into<IterationControl>,
Find all shared libraries in this process and invoke f
with each one.
Provided methods
fn avma_to_svma(&self, address: Avma) -> Svma
Given an AVMA within this shared library, convert it back to an SVMA by removing this shared library's bias.
Implementors
impl<'a> SharedLibrary for SharedLibrary<'a>
[src]
type Segment = Segment<'a>
type SegmentIter = SegmentIter<'a>
fn name(&self) -> &OsStr
[src]
fn id(&self) -> Option<SharedLibraryId>
[src]
fn segments(&self) -> Self::SegmentIter
[src]
fn virtual_memory_bias(&self) -> Bias
[src]
fn each<F, C>(_f: F) where
F: FnMut(&Self) -> C,
C: Into<IterationControl>,
[src]
F: FnMut(&Self) -> C,
C: Into<IterationControl>,