-
ELF header -> Elf32_Ehdr
-
e_ident[EI_NIDENT]
- Subtopic 1
- e_type
- e_machine
- e_version
- e_entry
-
e_phoff
- program header table's file offset
-
e_shoff
- section header table's file offset
- e_flags
-
e_ehsize
- ELF header's size
-
e_phentsize
- one entry of program header's size
-
e_phnum
- number of entries in program header table
-
e_shentsize
- a section header's size, a section header is one entry in the section header table
-
e_shnum
- number of entries in the section header table
- e_shstrndx
-
program header table -> array of Elf32_Phdr
-
p_type
- tell what kind of segment this array element describes or how to interpret it
-
p_offset
- offset from the beginning of the file to the first byte of the segment
-
p_vaddr
- virtual address of the first byte of the segment
-
p_paddr
- segment's physical address
-
p_filesz
- segment size
-
p_memsz
- size of memory image of segment
-
p_flags
- bit mask of flags of the segment
-
p_align
- Subtopic 1
-
section header table -> array of Elf32_Shdr
-
sh_name
- name of the section
- sh_type
- sh_flags
- sh_addr
- sh_offset
- sh_size
- sh_link
- sh_info
- sh_addralign
- sh_entsize
- string table
-
symbol table -> array of Elf32_Sym
- st_name
- st_value
- st_size
- st_info
- st_other
- st_shndx