xzre
Public Member Functions | Data Fields
elf_info Struct Reference

Public Member Functions

 PADDING (4)
 
 PADDING (7)
 
 PADDING (4)
 

Data Fields

Elf64_Ehdr * elfbase
 pointed to the ELF base address in memory
 
u64 first_vaddr
 virtual address of the first program header
 
Elf64_Phdr * phdrs
 pointer to the ELF program headers array in memory
 
u64 e_phnum
 copy of the ELF program header count from the ELF header
 
Elf64_Dyn * dyn
 pointer to the ELF dynamic segment
 
u64 dyn_num_entries
 number of entries in the ELF dynamic segment
 
char * strtab
 pointer to the ELF string table
 
Elf64_Sym * symtab
 pointer to the ELF symbol table
 
Elf64_Rela * plt_relocs
 pointer to the ELF PLT relocations table
 
u32 plt_relocs_num
 number of entries in the PLT relocation table
 
BOOL gnurelro_found
 whether the loaded ELF contains PT_GNU_RELRO or not which specifies the location and size of a segment which may be made read-only after relocations have been processed.
 
u64 gnurelro_vaddr
 location of the GNU relro segment
 
u64 gnurelro_memsize
 size of the GNU relro segment
 
Elf64_Verdef * verdef
 pointer to the EFL symbol versioning (from DT_VERDEF)
 
u64 verdef_num
 number of entries in the symbol versioning table
 
Elf64_Versym * versym
 
Elf64_Rela * rela_relocs
 
u32 rela_relocs_num
 
u32 _unused0
 
Elf64_Relr * relr_relocs
 
u32 relr_relocs_num
 
u64 code_segment_start
 page-aligned virtual address of the first executable ELF segment
 
u64 code_segment_size
 page-aligned virtual size of the first executable ELF segment
 
u64 rodata_segment_start
 
u64 rodata_segment_size
 
u64 data_segment_start
 
u64 data_segment_size
 
u64 data_segment_alignment
 
u8 flags
 
u32 gnu_hash_nbuckets
 number of GNU hash buckets (from DT_GNU_HASH)
 
u32 gnu_hash_last_bloom
 last valid bloom value
 
u32 gnu_hash_bloom_shift
 
u64 * gnu_hash_bloom
 
u32 * gnu_hash_buckets
 
u32 * gnu_hash_chain
 

The documentation for this struct was generated from the following file: