pub type TargetSharedLibrary<'a> = SharedLibrary<'a>;
Expand description
The SharedLibrary
trait
implementation for the target operating system.
Aliased Type§
struct TargetSharedLibrary<'a> { /* private fields */ }
Trait Implementations
Source§type SegmentIter = SegmentIter<'a>
type SegmentIter = SegmentIter<'a>
An iterator over a shared library’s segments.
Source§fn id(&self) -> Option<SharedLibraryId>
fn id(&self) -> Option<SharedLibraryId>
Get the code-id of this shared library if available.
Source§fn segments(&self) -> Self::SegmentIter
fn segments(&self) -> Self::SegmentIter
Iterate over this shared library’s segments.
Source§fn virtual_memory_bias(&self) -> Bias
fn virtual_memory_bias(&self) -> Bias
Get the bias of this shared library. Read more
Source§fn debug_name(&self) -> Option<&OsStr>
fn debug_name(&self) -> Option<&OsStr>
Get the name of the debug file with this shared library if there is one.
Source§fn debug_id(&self) -> Option<SharedLibraryId>
fn debug_id(&self) -> Option<SharedLibraryId>
Get the debug-id of this shared library if available.
Source§fn actual_load_addr(&self) -> Avma
fn actual_load_addr(&self) -> Avma
Returns the address of where the library is loaded into virtual
memory. Read more
Source§fn stated_load_addr(&self) -> Svma
fn stated_load_addr(&self) -> Svma
Returns the address of where the library prefers to be loaded into
virtual memory. Read more
Source§fn avma_to_svma(&self, address: Avma) -> Svma
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.