pub struct MINIDUMP_MODULE_CRASHPAD_INFO {
pub version: u32,
pub list_annotations: MINIDUMP_LOCATION_DESCRIPTOR,
pub simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR,
pub annotation_objects: MINIDUMP_LOCATION_DESCRIPTOR,
}
Expand description
Additional Crashpad-specific information about a module carried within a minidump file.
This structure augments the information provided by MINIDUMP_MODULE. The minidump file must contain a module list stream (::kMinidumpStreamTypeModuleList) in order for this structure to appear.
This structure is versioned. When changing this structure, leave the existing structure intact so that earlier parsers will be able to understand the fields they are aware of, and make additions at the end of the structure. Revise #kVersion and document each field’s validity based on #version, so that newer parsers will be able to determine whether the added fields are valid or not.
See https://crashpad.chromium.org/doxygen/structcrashpad_1_1MinidumpModuleCrashpadInfo.html
Fields§
§version: u32
The structure’s version number.
Readers can use this field to determine which other fields in the structure are valid. Upon
encountering a value greater than VERSION
, a reader should assume that the structure’s
layout is compatible with the structure defined as having value #kVersion.
Writers may produce values less than VERSION
in this field if there is no need for any
fields present in later versions.
list_annotations: MINIDUMP_LOCATION_DESCRIPTOR
A MinidumpRVAList
pointing to MinidumpUTF8String objects. The module controls the data
that appears here.
These strings correspond to ModuleSnapshot::AnnotationsVector()
and do not duplicate
anything in simple_annotations
or annotation_objects
.
simple_annotations: MINIDUMP_LOCATION_DESCRIPTOR
A MinidumpSimpleStringDictionary
pointing to strings interpreted as key-value pairs. The
module controls the data that appears here.
These key-value pairs correspond to ModuleSnapshot::AnnotationsSimpleMap()
and do not
duplicate anything in list_annotations
or annotation_objects
.
annotation_objects: MINIDUMP_LOCATION_DESCRIPTOR
A MinidumpAnnotationList
object containing the annotation objects stored within the
module. The module controls the data that appears here.
These key-value pairs correspond to ModuleSnapshot::AnnotationObjects()
and do not
duplicate anything in list_annotations
or simple_annotations
.
Implementations§
source§impl MINIDUMP_MODULE_CRASHPAD_INFO
impl MINIDUMP_MODULE_CRASHPAD_INFO
sourcepub const VERSION: u32 = 1u32
pub const VERSION: u32 = 1u32
The structure’s version number.
Readers can use this field to determine which other fields in the structure are valid. Upon
encountering a value greater than VERSION
, a reader should assume that the structure’s
layout is compatible with the structure defined as having value #kVersion.
Writers may produce values less than VERSION
in this field if there is no need for any
fields present in later versions.
Trait Implementations§
source§impl Clone for MINIDUMP_MODULE_CRASHPAD_INFO
impl Clone for MINIDUMP_MODULE_CRASHPAD_INFO
source§fn clone(&self) -> MINIDUMP_MODULE_CRASHPAD_INFO
fn clone(&self) -> MINIDUMP_MODULE_CRASHPAD_INFO
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_MODULE_CRASHPAD_INFOwhere
MINIDUMP_MODULE_CRASHPAD_INFO: 'a,
impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_MODULE_CRASHPAD_INFOwhere
MINIDUMP_MODULE_CRASHPAD_INFO: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian, ) -> Result<(MINIDUMP_MODULE_CRASHPAD_INFO, usize), <MINIDUMP_MODULE_CRASHPAD_INFO as TryFromCtx<'a, Endian>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_MODULE_CRASHPAD_INFO
impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_MODULE_CRASHPAD_INFO
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <&'a MINIDUMP_MODULE_CRASHPAD_INFO as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for MINIDUMP_MODULE_CRASHPAD_INFO
impl TryIntoCtx<Endian> for MINIDUMP_MODULE_CRASHPAD_INFO
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <MINIDUMP_MODULE_CRASHPAD_INFO as TryIntoCtx<Endian>>::Error>
Auto Trait Implementations§
impl Freeze for MINIDUMP_MODULE_CRASHPAD_INFO
impl RefUnwindSafe for MINIDUMP_MODULE_CRASHPAD_INFO
impl Send for MINIDUMP_MODULE_CRASHPAD_INFO
impl Sync for MINIDUMP_MODULE_CRASHPAD_INFO
impl Unpin for MINIDUMP_MODULE_CRASHPAD_INFO
impl UnwindSafe for MINIDUMP_MODULE_CRASHPAD_INFO
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)