Struct minidump::MinidumpLinuxMapInfo
source · [−]pub struct MinidumpLinuxMapInfo<'a> {
pub base_address: u64,
pub final_address: u64,
pub kind: MinidumpLinuxMapKind<'a>,
pub is_read: bool,
pub is_write: bool,
pub is_exec: bool,
pub is_shared: bool,
pub is_private: bool,
/* private fields */
}
Expand description
A memory mapping entry for the process we are analyzing.
Fields
base_address: u64
The first address this metadata applies to
final_address: u64
The last address this metadata applies to
kind: MinidumpLinuxMapKind<'a>
The kind of mapping
is_read: bool
Whether the memory region is readable.
is_write: bool
Whether the memory region is writeable.
is_exec: bool
Whether the memory region is executable.
Whether the memory region is shared.
is_private: bool
Whether the memory region is private (copy-on-write).
Implementations
sourceimpl<'a> MinidumpLinuxMapInfo<'a>
impl<'a> MinidumpLinuxMapInfo<'a>
sourcepub fn from_line(
line: &'a LinuxOsStr
) -> Result<MinidumpLinuxMapInfo<'a>, Error>
pub fn from_line(
line: &'a LinuxOsStr
) -> Result<MinidumpLinuxMapInfo<'a>, Error>
Parses a line from /proc/self/maps into a [MinidumpLinuxMapInfo]
.
sourcepub fn print<T: Write>(&self, f: &mut T) -> Result<()>
pub fn print<T: Write>(&self, f: &mut T) -> Result<()>
Write a human-readable description of this.
pub fn memory_range(&self) -> Option<Range<u64>>
sourcepub fn is_executable(&self) -> bool
pub fn is_executable(&self) -> bool
Whether this memory range was executable.
Trait Implementations
sourceimpl<'a> Clone for MinidumpLinuxMapInfo<'a>
impl<'a> Clone for MinidumpLinuxMapInfo<'a>
sourcefn clone(&self) -> MinidumpLinuxMapInfo<'a>
fn clone(&self) -> MinidumpLinuxMapInfo<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for MinidumpLinuxMapInfo<'a>
impl<'a> Debug for MinidumpLinuxMapInfo<'a>
sourceimpl<'a> PartialEq<MinidumpLinuxMapInfo<'a>> for MinidumpLinuxMapInfo<'a>
impl<'a> PartialEq<MinidumpLinuxMapInfo<'a>> for MinidumpLinuxMapInfo<'a>
sourcefn eq(&self, other: &MinidumpLinuxMapInfo<'a>) -> bool
fn eq(&self, other: &MinidumpLinuxMapInfo<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MinidumpLinuxMapInfo<'a>) -> bool
fn ne(&self, other: &MinidumpLinuxMapInfo<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for MinidumpLinuxMapInfo<'a>
impl<'a> StructuralEq for MinidumpLinuxMapInfo<'a>
impl<'a> StructuralPartialEq for MinidumpLinuxMapInfo<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MinidumpLinuxMapInfo<'a>
impl<'a> Send for MinidumpLinuxMapInfo<'a>
impl<'a> Sync for MinidumpLinuxMapInfo<'a>
impl<'a> Unpin for MinidumpLinuxMapInfo<'a>
impl<'a> UnwindSafe for MinidumpLinuxMapInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more