Trait findshlibs::SharedLibrary [] [src]

pub trait SharedLibrary: Sized + Debug {
    type Segment: Segment<SharedLibrary = Self>;
    type SegmentIter: Debug + Iterator<Item = Self::Segment>;
    fn name(&self) -> &CStr;
fn segments(&self) -> Self::SegmentIter;
fn virtual_memory_bias(&self) -> Bias;
fn each<F, C>(f: F)
    where
        F: FnMut(&Self) -> C,
        C: Into<IterationControl>
; fn avma_to_svma(&self, address: Avma) -> Svma { ... } }

A trait representing a shared library that is loaded in this process.

Associated Types

The associated segment type for this shared library.

An iterator over a shared library's segments.

Required Methods

Get the name of this shared library.

Iterate over this shared library's segments.

Get the bias of this shared library.

See the module documentation for details.

Find all shared libraries in this process and invoke f with each one.

Provided Methods

Given an AVMA within this shared library, convert it back to an SVMA by removing this shared library's bias.

Implementors