class ModuleSnapshotElf

Defined at line 38 of file ../../third_party/crashpad/src/snapshot/elf/module_snapshot_elf.h

A ModuleSnapshot of a code module (binary image) loaded into a

running (or crashed) process on a system that uses ELF modules.

Public Methods

void ModuleSnapshotElf (const std::string & name, ElfImageReader * elf_reader, ModuleSnapshot::ModuleType type, ProcessMemoryRange * process_memory_range, const ProcessMemory * process_memory)

Parameters

name [in] The pathname used to load the module from disk.
elf_reader [in] An image reader for the module.
type [in] The module's type.
process_memory_range [in] A memory reader giving protected access to the target process.
process_memory [in] A memory reader for the target process which can be used to initialize a MemorySnapshot.
void ModuleSnapshotElf (const ModuleSnapshotElf & )

Defined at line 53 of file ../../third_party/crashpad/src/snapshot/elf/module_snapshot_elf.h

ModuleSnapshotElf & operator= (const ModuleSnapshotElf & )

Defined at line 54 of file ../../third_party/crashpad/src/snapshot/elf/module_snapshot_elf.h

void ~ModuleSnapshotElf ()
bool Initialize ()

Initializes the object.

Returns

`true` if the snapshot could be created, `false` otherwise with

an appropriate message logged.

bool GetCrashpadOptions (CrashpadInfoClientOptions * options)

Returns options from the module’s CrashpadInfo structure.

Parameters

options [out] Options set in the module’s CrashpadInfo structure.

Returns

`true` if there were options returned. Otherwise `false`.

std::string Name ()

ModuleSnapshot:

uint64_t Address ()
uint64_t Size ()
time_t Timestamp ()
void FileVersion (uint16_t * version_0, uint16_t * version_1, uint16_t * version_2, uint16_t * version_3)
void SourceVersion (uint16_t * version_0, uint16_t * version_1, uint16_t * version_2, uint16_t * version_3)
ModuleType GetModuleType ()
void UUIDAndAge (crashpad::UUID * uuid, uint32_t * age)
std::string DebugFileName ()
std::vector<uint8_t> BuildID ()
std::vector<std::string> AnnotationsVector ()
std::map<std::string, std::string> AnnotationsSimpleMap ()
std::vector<AnnotationSnapshot> AnnotationObjects ()
std::set<CheckedRange<uint64_t>> ExtraMemoryRanges ()
std::vector<const UserMinidumpStream *> CustomMinidumpStreams ()