LLDB mainline
|
#include <ObjectFileELF.h>
Public Member Functions | |
ELFNote ()=default | |
bool | Parse (const lldb_private::DataExtractor &data, lldb::offset_t *offset) |
Parse an ELFNote entry from the given DataExtractor starting at position offset . | |
size_t | GetByteSize () const |
Public Attributes | |
elf::elf_word | n_namesz = 0 |
elf::elf_word | n_descsz = 0 |
elf::elf_word | n_type = 0 |
std::string | n_name |
Definition at line 25 of file ObjectFileELF.h.
|
default |
|
inline |
Definition at line 48 of file ObjectFileELF.h.
bool ELFNote::Parse | ( | const lldb_private::DataExtractor & | data, |
lldb::offset_t * | offset | ||
) |
Parse an ELFNote entry from the given DataExtractor starting at position offset
.
[in] | data | The DataExtractor to read from. |
[in,out] | offset | Pointer to an offset in the data. On return the offset will be advanced by the number of bytes read. |
Definition at line 221 of file ObjectFileELF.cpp.
References lldb_private::DataExtractor::ExtractBytes(), lldb_private::DataExtractor::GetByteOrder(), lldb_private::DataExtractor::GetCStr(), lldb_private::GetLog(), lldb_private::DataExtractor::GetU32(), LLDB_LOGF, n_name, and n_namesz.
elf::elf_word ELFNote::n_descsz = 0 |
Definition at line 27 of file ObjectFileELF.h.
Referenced by GetByteSize().
std::string ELFNote::n_name |
Definition at line 30 of file ObjectFileELF.h.
Referenced by Parse().
elf::elf_word ELFNote::n_namesz = 0 |
Definition at line 26 of file ObjectFileELF.h.
Referenced by GetByteSize(), and Parse().
elf::elf_word ELFNote::n_type = 0 |
Definition at line 28 of file ObjectFileELF.h.
Referenced by lldb_private::getRegset().