[−][src]Struct symbolic_minidump::processor::CodeModule
Carries information about a code module loaded into the process during the
crash. The debug_identifier
uniquely identifies this module.
Implementations
impl CodeModule
[src]
pub fn id(&self) -> Option<CodeModuleId>
[src]
Returns the unique identifier of this CodeModule
, which corresponds to the identifier
returned by debug_identifier
.
pub fn base_address(&self) -> u64
[src]
Returns the base address of this code module as it was loaded by the process. (uint64_t)-1 on error.
pub fn size(&self) -> u64
[src]
The size of the code module. 0 on error.
pub fn code_file(&self) -> String
[src]
Returns the path or file name that the code module was loaded from.
pub fn code_identifier(&self) -> String
[src]
An identifying string used to discriminate between multiple versions and builds of the same code module.
The contents of this identifier are implementation defined. GCC generally uses a 40 character (20 byte) SHA1 checksum of the code. On Windows, this is the program timestamp and version number. On macOS, this value is empty.
pub fn debug_file(&self) -> String
[src]
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.
pub fn debug_identifier(&self) -> String
[src]
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.
Trait Implementations
impl Debug for CodeModule
[src]
impl Eq for CodeModule
[src]
impl Hash for CodeModule
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for CodeModule
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CodeModule> for CodeModule
[src]
impl PartialOrd<CodeModule> for CodeModule
[src]
Auto Trait Implementations
impl RefUnwindSafe for CodeModule
impl Send for CodeModule
impl Sync for CodeModule
impl Unpin for CodeModule
impl UnwindSafe for CodeModule
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,