#include <stdint.h>
|
|
#define | ELF_TYPE_EXECUTABLE 0x2 |
| | Executable ELF Type.
|
| |
|
#define | ELF_PROGRAM_TYPE_LOAD 0x1 |
| | Loadable program type.
|
| |
|
#define | ELF_SECTION_TYPE_NULL 0x0 |
| | Inactive section with undefined values.
|
| |
|
#define | ELF_SECTION_TYPE_PROGBITS 0x1 |
| | Section data contains executable code and data.
|
| |
|
#define | ELF_SECTION_TYPE_SYMTAB 0x2 |
| | Section data contains a symbol table.
|
| |
|
#define | ELF_SECTION_TYPE_STRTAB 0x3 |
| | Section data contains a string table.
|
| |
|
#define | ELF_SECTION_TYPE_NOBITS 0x8 |
| | Section data occupies no space in the file.
|
| |
|
#define | ELF_PROGRAM_FLAG_EXECUTE 0x1 |
| | Execute Program Flag.
|
| |
|
#define | ELF_PROGRAM_FLAG_WRITE 0x2 |
| | Write Program Flag.
|
| |
|
#define | ELF_PROGRAM_FLAG_READ 0x4 |
| | Read Program Flag.
|
| |
|
#define | ELF_SECTION_FLAG_ALLOC 0x2 |
| | Identifies a section that occupies memory during process execution.
|
| |
- See also
- https://www.uclibc.org/docs/elf-64-gen.pdf
-
https://man7.org/linux/man-pages/man5/elf.5.html
This header file contains the definitions of the Executable and Linking Format (ELF) for both 32 (arm) and 64 bits (the default).