ELF64 Header.
More...
#include <elf.h>
ELF64 Header.
Stored in the beginning of an ELF file.
- See also
- https://gabi.xinuos.com/elf/02-eheader.html
Definition at line 94 of file elf.h.
◆ e_ident
Identification bytes.
Definition at line 96 of file elf.h.
◆ e_type
Object file type.
Definition at line 97 of file elf.h.
◆ e_machine
The required architecture.
Definition at line 98 of file elf.h.
◆ e_version
Object file version.
Definition at line 99 of file elf.h.
◆ e_entry
Entry point virtual address.
Definition at line 100 of file elf.h.
◆ e_phoff
Program header tables's file offset in bytes, or 0 if there are no program headers.
Definition at line 101 of file elf.h.
◆ e_shoff
Section header table's file offset in bytes, or 0 if there are no section headers.
Definition at line 102 of file elf.h.
◆ e_flags
Processor-specific flags.
Definition at line 103 of file elf.h.
◆ e_ehsize
Size of this header in bytes, should be sizeof(Elf64_Ehdr)
Definition at line 104 of file elf.h.
◆ e_phentsize
Size in bytes of one entry in the files program header table.
Definition at line 105 of file elf.h.
◆ e_phnum
Number of entries in the program header table.
Definition at line 106 of file elf.h.
◆ e_shentsize
Size in bytes of one entry in the files section header table.
Definition at line 107 of file elf.h.
◆ e_shnum
Number of entries in the section header table, or 0 if there are no section headers.
If the number of sections is greater than or equal to SHN_LORESERVE (0xff00), this field contains 0 and the actual number of section header table entires is contained in the sh_size field of section header index 0.
Definition at line 114 of file elf.h.
◆ e_shstrndx
Section header table index of the entry associated with the section name string table, or SHN_UNDEF if there are no section names.
If the section name string table section index is greater than or equal to SHN_LORESERVE (0xff00), this field contains SHN_XINDEX(0xffff) and the actual section index is contained in the sh_link field of section header index 0.
Definition at line 123 of file elf.h.
The documentation for this struct was generated from the following file: