#[repr(C)]pub struct CodeModule(/* private fields */);
Expand description
Carries information about a code module loaded into the process during the
crash. The debug_identifier
uniquely identifies this module.
Implementations§
Source§impl CodeModule
impl CodeModule
Sourcepub fn id(&self) -> CodeModuleId
pub fn id(&self) -> CodeModuleId
Returns the unique identifier of this CodeModule
.
Sourcepub fn base_address(&self) -> u64
pub fn base_address(&self) -> u64
Returns the base address of this code module as it was loaded by the process. (uint64_t)-1 on error.
pub fn code_file(&self) -> String
pub fn code_identifier(&self) -> String
Sourcepub fn debug_file(&self) -> String
pub fn debug_file(&self) -> String
Returns the filename containing debugging information of this 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.
Sourcepub fn debug_identifier(&self) -> String
pub fn debug_identifier(&self) -> String
Returns a string identifying the 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.
It usually comprises the library’s UUID and an age field. On Windows, the age field is a generation counter, on all other platforms it is mostly zero.