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§
source§impl<'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§
source§impl<'a> Clone for MinidumpLinuxMapInfo<'a>
impl<'a> Clone for MinidumpLinuxMapInfo<'a>
source§fn clone(&self) -> MinidumpLinuxMapInfo<'a>
fn clone(&self) -> MinidumpLinuxMapInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more