Struct minidump::MinidumpModule
[−]
[src]
pub struct MinidumpModule { pub raw: MDRawModule, pub codeview_info: Option<CodeView>, pub misc_info: Option<MDImageDebugMisc>, // some fields omitted }
An executable or shared library loaded in the process at the time the Minidump
was written.
Fields
raw: MDRawModule
The MDRawModule
direct from the minidump file.
codeview_info: Option<CodeView>
A CodeView
record, if one is present.
misc_info: Option<MDImageDebugMisc>
A misc debug record, if one is present.
Methods
impl MinidumpModule
[src]
fn new(base: u64, size: u32, name: &str) -> MinidumpModule
[src]
Create a MinidumpModule
with some basic info.
Useful for testing.
fn read<T: Readable>(
f: &mut T,
raw: MDRawModule
) -> Result<MinidumpModule, Error>
[src]
f: &mut T,
raw: MDRawModule
) -> Result<MinidumpModule, Error>
fn print<T: Write>(&self, f: &mut T) -> Result<()>
[src]
Write a human-readable description of this MinidumpModule
to f
.
This is very verbose, it is the format used by minidump_dump
.
Trait Implementations
impl Clone for MinidumpModule
[src]
fn clone(&self) -> MinidumpModule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Module for MinidumpModule
[src]
fn base_address(&self) -> u64
[src]
The base address of this code module as it was loaded by the process.
fn size(&self) -> u64
[src]
The size of the code module.
fn code_file(&self) -> Cow<str>
[src]
The path or file name that the code module was loaded from.
fn code_identifier(&self) -> Cow<str>
[src]
An identifying string used to discriminate between multiple versions and builds of the same code module. This may contain a uuid, timestamp, version number, or any combination of this or other information, in an implementation-defined format. Read more
fn debug_file(&self) -> Option<Cow<str>>
[src]
The filename containing debugging information associated with the code module. If debugging information is stored in a file separate from the code module itself (as is the case when .pdb or .dSYM files are used), this will be different from code_file. If debugging information is stored in the code module itself (possibly prior to stripping), this will be the same as code_file. Read more
fn debug_identifier(&self) -> Option<Cow<str>>
[src]
An identifying string similar to code_identifier, but identifies a specific version and build of the associated debug file. This may be the same as code_identifier when the debug_file and code_file are identical or when the same identifier is used to identify distinct debug and code files. Read more
fn version(&self) -> Option<Cow<str>>
[src]
A human-readable representation of the code module's version.