|
PatchworkOS
966e257
A non-POSIX operating system.
|
ELF64 Section Header. More...
#include <elf.h>
Data Fields | |
| Elf64_Word | sh_name |
| Index of the section name in the string table. | |
| Elf64_Word | sh_type |
| Section type. | |
| Elf64_Xword | sh_flags |
| Section flags. | |
| Elf64_Addr | sh_addr |
If the section will appear in memory, this will be its virtual address, otherwise 0 | |
| Elf64_Off | sh_offset |
| Section's file offset in bytes. | |
| Elf64_Xword | sh_size |
| Section size in bytes. | |
| Elf64_Word | sh_link |
| Elf64_Word | sh_info |
| Depends on section type. | |
| Elf64_Xword | sh_addralign |
| Section byte alignment requirement. | |
| Elf64_Xword | sh_entsize |
ELF64 Section Header.
Stored in the section header table, which is located at the file offset e_shoff and contains e_shnum entries where each entry is e_shentsize bytes long.
Each section header describes a section in the ELF file, for example the .text or .data sections.
| Elf64_Word Elf64_Shdr::sh_name |
| Elf64_Word Elf64_Shdr::sh_type |
| Elf64_Xword Elf64_Shdr::sh_flags |
| Elf64_Addr Elf64_Shdr::sh_addr |
| Elf64_Off Elf64_Shdr::sh_offset |
| Elf64_Xword Elf64_Shdr::sh_size |
| Elf64_Word Elf64_Shdr::sh_link |
| Elf64_Word Elf64_Shdr::sh_info |
| Elf64_Xword Elf64_Shdr::sh_addralign |
| Elf64_Xword Elf64_Shdr::sh_entsize |