The header of a 64-bit ELF file.
More...
#include <elf.h>
|
| unsigned char | identification [16] |
| | Identifies the file as an ELF file and contains metadata about the file (class, data encoding, version, OS ABI, etc.)
|
| |
| uint16_t | type |
| | The type of the ELF file (see ELFType)
|
| |
| uint16_t | machine |
| | The target architecture of the ELF file (see ELFMachine)
|
| |
| uint32_t | version |
| | The version of the ELF file (see ELFVersion)
|
| |
| uint64_t | entry |
| | The starting RIP address where the program begins execution.
|
| |
| uint64_t | program_header_offset |
| | The offset in the file where the program header table starts.
|
| |
| uint64_t | section_header_offset |
| | The offset in the file where the section header table starts.
|
| |
| uint32_t | flags |
| | Architecture-specific flags.
|
| |
| uint16_t | elf_header_size |
| | The size of this ELF header.
|
| |
| uint16_t | program_header_size |
| | The size of each entry in the program header table.
|
| |
| uint16_t | program_header_count |
| | The number of entries in the program header table.
|
| |
| uint16_t | section_header_size |
| | The size of each entry in the section header table.
|
| |
| uint16_t | section_header_count |
| | The number of entries in the section header table.
|
| |
| uint16_t | section_header_string_table_index |
| | Where the section header string table is located (index into the section header table)
|
| |
The header of a 64-bit ELF file.
Definition at line 110 of file elf.h.
◆ elf_header_size
| uint16_t MaxOS::processes::ELFHeader64::elf_header_size |
The size of this ELF header.
Definition at line 120 of file elf.h.
◆ entry
| uint64_t MaxOS::processes::ELFHeader64::entry |
The starting RIP address where the program begins execution.
Definition at line 116 of file elf.h.
◆ flags
| uint32_t MaxOS::processes::ELFHeader64::flags |
Architecture-specific flags.
Definition at line 119 of file elf.h.
◆ identification
| unsigned char MaxOS::processes::ELFHeader64::identification[16] |
Identifies the file as an ELF file and contains metadata about the file (class, data encoding, version, OS ABI, etc.)
Definition at line 112 of file elf.h.
◆ machine
| uint16_t MaxOS::processes::ELFHeader64::machine |
The target architecture of the ELF file (see ELFMachine)
Definition at line 114 of file elf.h.
◆ program_header_count
| uint16_t MaxOS::processes::ELFHeader64::program_header_count |
The number of entries in the program header table.
Definition at line 122 of file elf.h.
◆ program_header_offset
| uint64_t MaxOS::processes::ELFHeader64::program_header_offset |
◆ program_header_size
| uint16_t MaxOS::processes::ELFHeader64::program_header_size |
The size of each entry in the program header table.
Definition at line 121 of file elf.h.
◆ section_header_count
| uint16_t MaxOS::processes::ELFHeader64::section_header_count |
The number of entries in the section header table.
Definition at line 124 of file elf.h.
◆ section_header_offset
| uint64_t MaxOS::processes::ELFHeader64::section_header_offset |
◆ section_header_size
| uint16_t MaxOS::processes::ELFHeader64::section_header_size |
The size of each entry in the section header table.
Definition at line 123 of file elf.h.
◆ section_header_string_table_index
| uint16_t MaxOS::processes::ELFHeader64::section_header_string_table_index |
Where the section header string table is located (index into the section header table)
Definition at line 125 of file elf.h.
◆ type
| uint16_t MaxOS::processes::ELFHeader64::type |
The type of the ELF file (see ELFType)
Definition at line 113 of file elf.h.
◆ version
| uint32_t MaxOS::processes::ELFHeader64::version |
The version of the ELF file (see ELFVersion)
Definition at line 115 of file elf.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/MaxOS/MaxOS/kernel/include/processes/elf.h