[][src]Struct symbolic::minidump::processor::CodeModule

#[repr(C)]pub struct 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]

impl Ord for CodeModule[src]

impl PartialEq<CodeModule> for CodeModule[src]

impl PartialOrd<CodeModule> for CodeModule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.