const char * elf64_get_string(const Elf64_File *elf, Elf64_Xword strTabIndex, Elf64_Off offset)
Get a string from the string table section at the given offset.
const char * elf64_get_section_name(const Elf64_File *elf, const Elf64_Shdr *section)
Get the name of a section.
#define ELF64_GET_SHDR(elf, index)
Get the section header at the given index from an ELF file.
@ SHN_XINDEX
Indicates that the actual index is too large to fit and is stored elsewhere.
#define NULL
Pointer error value.
ELF File Helper structure.
Elf64_Ehdr * header
The data in the file, pointed to the start of the ELF header.
Elf64_Word sh_name
Index of the section name in the string table.