class ElfDynamicArrayReader
Defined at line 30 of file ../../third_party/crashpad/src/snapshot/elf/elf_dynamic_array_reader.h
A reader for ELF dynamic arrays mapped into another process.
Public Methods
void ElfDynamicArrayReader ()
void ElfDynamicArrayReader (const ElfDynamicArrayReader & )
Defined at line 34 of file ../../third_party/crashpad/src/snapshot/elf/elf_dynamic_array_reader.h
ElfDynamicArrayReader & operator= (const ElfDynamicArrayReader & )
Defined at line 35 of file ../../third_party/crashpad/src/snapshot/elf/elf_dynamic_array_reader.h
template <typename V>
bool GetValue (uint64_t tag, bool log, V * value)
Retrieve a value from the array.
Parameters
tag [in] Specifies which value should be retrieved. The possible values for this parameter are the `DT_*` values from `<elf.h>`.
log [in] Specifies whether an error should be logged if is not found.
value [out] The value, casted to an appropriate type, if found.
Returns
`true` if the value is found.
Defined at line 61 of file ../../third_party/crashpad/src/snapshot/elf/elf_dynamic_array_reader.h
void ~ElfDynamicArrayReader ()
bool Initialize (const ProcessMemoryRange & memory, VMAddress address, VMSize size)
Initializes the reader.
This method must be called once on an object and must be successfully
called before any other method in this class may be called.
Parameters
memory [in] A memory reader for the remote process.
address [in] The address in the remote process' address space where the ELF dynamic table is loaded.
size [in] The maximum number of bytes to read.