Struct breakpad_symbols::SimpleModule
[−]
[src]
pub struct SimpleModule { pub base_address: Option<u64>, pub size: Option<u64>, pub code_file: Option<String>, pub code_identifier: Option<String>, pub debug_file: Option<String>, pub debug_id: Option<String>, pub version: Option<String>, }
A Module
implementation that holds arbitrary data.
This can be useful for getting symbols for a module when you
have a debug id and filename but not an actual minidump. If you have a
minidump, you should be using MinidumpModule
.
Fields
base_address: Option<u64>
size: Option<u64>
code_file: Option<String>
code_identifier: Option<String>
debug_file: Option<String>
debug_id: Option<String>
version: Option<String>
Methods
impl SimpleModule
[src]
fn new(debug_file: &str, debug_id: &str) -> SimpleModule
[src]
Create a SimpleModule
with the given debug_file
and debug_id
.
Uses default
for the remaining fields.
Trait Implementations
impl Default for SimpleModule
[src]
fn default() -> SimpleModule
[src]
Returns the "default value" for a type. Read more
impl Module for SimpleModule
[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.