26 uint32_t r_reloc_type;
33 uint32_t r_reloc_type;
60 uint8_t e_ident[EI_NIDENT];
102 static_assert(
sizeof(
Elf64_Rela) == 0x18,
"Elf64_Rela size should be 0x18");
128 DT_INIT_ARRAYSZ = 27,
129 DT_FINI_ARRAYSZ = 28,
132 DT_GNU_HASH = 0x6ffffef5,
133 DT_RELACOUNT = 0x6ffffff9,
uint64_t elf_hash_string(const char *string)
Hashes a string for lookup in the .hash table.
uint32_t result_t
Function result.
Definition: types.h:51
result_t elf_dynamic_find_value(Elf64_Dyn *dynamic, int64_t tag, uint64_t *value)
Finds the value of the given tag in a dynamic section.
result_t elf_dynamic_find_offset(Elf64_Dyn *dynamic, int64_t tag, void **value, void *base)
Finds the value of the given tag in the dynamic section, treated as an offset from a given base...