Crashpad

Public Attributes | Static Public Attributes | List of all members
crashpad::MinidumpModuleCrashpadInfo Struct Reference

Additional Crashpad-specific information about a module carried within a minidump file. More...

`#include "minidump/minidump_extensions.h"`

## Public Attributes
uint32_t | version
| The structure’s version number. More...
MINIDUMP_LOCATION_DESCRIPTOR | list_annotations
| A MinidumpRVAList pointing to MinidumpUTF8String objects. The module controls the data that appears here. More...
MINIDUMP_LOCATION_DESCRIPTOR | simple_annotations
| A MinidumpSimpleStringDictionary pointing to strings interpreted as key-value pairs. The module controls the data that appears here. More...

## Static Public Attributes
static const uint32_t | kVersion = 1
| The structure’s currently-defined version number. More...

## Detailed 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 also
  MinidumpModuleCrashpadInfoList

## Member Data Documentation

## ◆ kVersion

const uint32_t crashpad::MinidumpModuleCrashpadInfo::kVersion = 1
| static

The structure’s currently-defined version number.

See also
  version

## ◆ list_annotations

MINIDUMP_LOCATION_DESCRIPTOR crashpad::MinidumpModuleCrashpadInfo::list_annotations

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.

This field is present when version is at least `1`.

## ◆ simple_annotations

MINIDUMP_LOCATION_DESCRIPTOR crashpad::MinidumpModuleCrashpadInfo::simple_annotations

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.

This field is present when version is at least `1`.

## ◆ version

uint32_t crashpad::MinidumpModuleCrashpadInfo::version

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 kVersion, 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 kVersion in this field if there is no need for any fields present in later versions.

The documentation for this struct was generated from the following files:

- minidump/minidump_extensions.h
- minidump/minidump_extensions.cc