pub struct Mapping<'a> {
pub memory_start: u64,
pub memory_limit: u64,
pub file_offset: u64,
pub filename: &'a str,
pub build_id: &'a str,
}Fields§
§memory_start: u64Address at which the binary (or DLL) is loaded into memory.
memory_limit: u64The limit of the address range occupied by this mapping.
file_offset: u64Offset in the binary that corresponds to the first mapped address.
filename: &'a strThe object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like “[vdso]”.
build_id: &'a strA string that uniquely identifies a particular program version with high probability. E.g., for binaries generated by GNU tools, it could be the contents of the .note.gnu.build-id field.
Trait Implementations§
impl<'a> Copy for Mapping<'a>
impl<'a> Eq for Mapping<'a>
impl<'a> StructuralPartialEq for Mapping<'a>
Auto Trait Implementations§
impl<'a> Freeze for Mapping<'a>
impl<'a> RefUnwindSafe for Mapping<'a>
impl<'a> Send for Mapping<'a>
impl<'a> Sync for Mapping<'a>
impl<'a> Unpin for Mapping<'a>
impl<'a> UnwindSafe for Mapping<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.