22 const uint64_t type = data.
GetAddress(&offset);
23 const uint64_t value = data.
GetAddress(&offset);
33std::optional<uint64_t>
47 LLDB_LOGF(log,
" %s [%" PRIu64
"]: %" PRIx64,
54 const char *name =
"AT_???";
56#define ENTRY_NAME(_type) \
#define ENTRY_NAME(_type)
#define LLDB_LOGF(log,...)
std::unordered_map< uint64_t, uint64_t > m_auxv_entries
EntryType
Constants describing the type of entry.
@ AUXV_AT_DCACHEBSIZE
Data cache block size.
@ AUXV_AT_ICACHEBSIZE
Instruction cache block size.
@ AUXV_AT_EXECFN
Filename of executable.
@ AUXV_AT_IGNORE
Ignore entry.
@ AUXV_AT_BASE_PLATFORM
String identifying real platforms.
@ AUXV_AT_PAGESZ
Page size.
@ AUXV_AT_PHNUM
Number of program headers.
@ AUXV_AT_L1I_CACHESHAPE
Shapes of the caches.
@ AUXV_AT_EGID
Effective GID.
@ AUXV_AT_PHDR
Program headers.
@ AUXV_AT_ENTRY
Program entry point.
@ AUXV_AT_NULL
End of auxv.
@ AUXV_AT_SECURE
Boolean, was exec setuid-like?
@ AUXV_AT_EUID
Effective UID.
@ AUXV_AT_PLATFORM
String identifying platform.
@ AUXV_AT_EXECFD
File descriptor of program.
@ AUXV_AT_PHENT
Size of program header.
@ AUXV_AT_NOTELF
Set if program is not an ELF.
@ AUXV_AT_HWCAP2
Extension of AT_HWCAP.
@ AUXV_AT_IGNOREPPC
Entry should be ignored.
@ AUXV_AT_UCACHEBSIZE
Unified cache block size.
@ AUXV_AT_SYSINFO
Pointer to the global system page used for system calls and other nice things.
@ AUXV_AT_CLKTCK
Clock frequency (e.g. times(2)).
@ AUXV_AT_HWCAP
Machine dependent hints about processor capabilities.
@ AUXV_AT_FPUCW
Used FPU control word.
@ AUXV_AT_BASE
Interpreter base address.
@ AUXV_AT_RANDOM
Address of 16 random bytes.
void DumpToLog(lldb_private::Log *log) const
std::optional< uint64_t > GetAuxValue(enum EntryType entry_type) const
const char * GetEntryName(EntryType type) const
AuxVector(const lldb_private::DataExtractor &data)
void ParseAuxv(const lldb_private::DataExtractor &data)
void PutCString(const char *cstr)