Crashpad
Public Member Functions | List of all members
crashpad::MachOImageAnnotationsReader Class Reference

A reader for annotations stored in a Mach-O image mapped into another process. More...

#include "snapshot/mac/mach_o_image_annotations_reader.h"

Public Member Functions

 MachOImageAnnotationsReader (ProcessReaderMac *process_reader, const MachOImageReader *image_reader, const std::string &name)
 Constructs an object. More...
 
std::vector< std::string > Vector () const
 Returns the module’s annotations that are organized as a vector of strings.
 
std::map< std::string, std::string > SimpleMap () const
 Returns the module’s annotations that are organized as key-value pairs, where all keys and values are strings.
 
std::vector< AnnotationSnapshotAnnotationsList () const
 Returns the module’s annotations that are organized as a list of.
 

Detailed Description

A reader for annotations stored in a Mach-O image mapped into another process.

These annotations are stored for the benefit of crash reporters, and provide information thought to be potentially useful for crash analysis. This class can decode annotations stored in these formats:

Constructor & Destructor Documentation

◆ MachOImageAnnotationsReader()

crashpad::MachOImageAnnotationsReader::MachOImageAnnotationsReader ( ProcessReaderMac process_reader,
const MachOImageReader image_reader,
const std::string &  name 
)

Constructs an object.

Parameters
[in]process_readerThe reader for the remote process.
[in]image_readerThe MachOImageReader for the Mach-O image file contained within the remote process.
[in]nameThe module’s name, a string to be used in logged messages. This string is for diagnostic purposes only, and may be empty.

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