Struct minidump::MinidumpMemory [−][src]
pub struct MinidumpMemory<'a> {
pub desc: MINIDUMP_MEMORY_DESCRIPTOR,
pub base_address: u64,
pub size: u64,
pub bytes: &'a [u8],
}
Expand description
A region of memory from the process that wrote the minidump.
Fields
desc: MINIDUMP_MEMORY_DESCRIPTOR
The raw MINIDUMP_MEMORY_DESCRIPTOR
from the minidump.
base_address: u64
The starting address of this range of memory.
size: u64
The length of this range of memory.
bytes: &'a [u8]
The contents of the memory.
Implementations
pub fn read(
desc: &MINIDUMP_MEMORY_DESCRIPTOR,
data: &'a [u8]
) -> Result<MinidumpMemory<'a>, Error>
Get mem::size_of::<T>()
bytes of memory at addr
from this region.
Return None
if the requested address range falls out of the bounds
of this memory region.
Write a human-readable description of this MinidumpMemory
to f
.
This is very verbose, it is the format used by minidump_dump
.
Write the contents of this MinidumpMemory
to f
as a hex string.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MinidumpMemory<'a>
impl<'a> Send for MinidumpMemory<'a>
impl<'a> Sync for MinidumpMemory<'a>
impl<'a> Unpin for MinidumpMemory<'a>
impl<'a> UnwindSafe for MinidumpMemory<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more