[][src]Struct ptracer::util::MemoryMap

pub struct MemoryMap {
    pub start: u64,
    pub end: u64,
    pub offset: u64,
    pub permissions: Permissions,
    pub filepath: Option<PathBuf>,
}

Memory mapping

Fields

start: u64

Start address of mapping

end: u64

End address of mapping (inclusive)

offset: u64

Offset within mapped module (filepath)

permissions: Permissions

Permission

filepath: Option<PathBuf>

Path of mapped module

Implementations

impl MemoryMap[src]

pub fn contains(&self, address: u64) -> bool[src]

Check if a given address is within the memory mapping.

Trait Implementations

impl Clone for MemoryMap[src]

impl Debug for MemoryMap[src]

impl Eq for MemoryMap[src]

impl From<MemoryMap> for MemoryMap[src]

impl PartialEq<MemoryMap> for MemoryMap[src]

impl StructuralEq for MemoryMap[src]

impl StructuralPartialEq for MemoryMap[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.