class NoteReader
Defined at line 46 of file ../../third_party/crashpad/src/snapshot/elf/elf_image_reader.h
This class enables reading note segments from an ELF image.
Objects of this class should be created by calling
ElfImageReader::Notes() or ElfImageReader::NotesWithNameAndType().
Public Methods
void NoteReader (const NoteReader & )
Defined at line 48 of file ../../third_party/crashpad/src/snapshot/elf/elf_image_reader.h
NoteReader & operator= (const NoteReader & )
Defined at line 49 of file ../../third_party/crashpad/src/snapshot/elf/elf_image_reader.h
void ~NoteReader ()
Result NextNote (std::string *name,NoteType *type,std::string *desc,VMAddress *desc_addr)
Searches for the next note in the image.
Parameters
Returns
a #Result value.
and
are
only valid if this method returns Result::kSuccess.
void NoteReader (const ElfImageReader *elf_reader_,const ProcessMemoryRange *range,const ProgramHeaderTable *phdr_table,size_tmax_note_size,const std::string &name_filter,NoteTypetype_filter,booluse_filter)
private
Enumerations
enum class Result
| Name | Value | Comments |
|---|---|---|
| kError | 0 |
An error occurred. The NoteReader is invalidated and message is logged. |
| kSuccess | 1 |
A note was found. |
| kNoMoreNotes | 2 |
No more notes were found. |
The return value for NextNote().
Defined at line 54 of file ../../third_party/crashpad/src/snapshot/elf/elf_image_reader.h