Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::processes::ELFProgramHeader64 Struct Reference

The header for the program segments in a 64-bit ELF file. More...

#include <elf.h>

Public Attributes

uint32_t type
 The type of the program header (see ELFProgramType)
 
uint32_t flags
 The flags of the program header (see ELFProgramFlags)
 
uint64_t offset
 The offset in the file where the segment is located.
 
uint64_t virtual_address
 Where the segment is to be loaded in memory.
 
uint64_t physical_address
 Reserved for physical address (not used in modern systems)
 
uint64_t file_size
 The size of the segment in the file.
 
uint64_t memory_size
 The size of the segment in memory (should be >= file_size)
 
uint64_t align
 The required alignment of the segment in memory (normally 2^n)
 

Detailed Description

The header for the program segments in a 64-bit ELF file.

Definition at line 162 of file elf.h.

Member Data Documentation

◆ align

uint64_t MaxOS::processes::ELFProgramHeader64::align

The required alignment of the segment in memory (normally 2^n)

Definition at line 171 of file elf.h.

◆ file_size

uint64_t MaxOS::processes::ELFProgramHeader64::file_size

The size of the segment in the file.

Definition at line 169 of file elf.h.

◆ flags

uint32_t MaxOS::processes::ELFProgramHeader64::flags

The flags of the program header (see ELFProgramFlags)

Definition at line 165 of file elf.h.

◆ memory_size

uint64_t MaxOS::processes::ELFProgramHeader64::memory_size

The size of the segment in memory (should be >= file_size)

Definition at line 170 of file elf.h.

◆ offset

uint64_t MaxOS::processes::ELFProgramHeader64::offset

The offset in the file where the segment is located.

Definition at line 166 of file elf.h.

◆ physical_address

uint64_t MaxOS::processes::ELFProgramHeader64::physical_address

Reserved for physical address (not used in modern systems)

Definition at line 168 of file elf.h.

◆ type

uint32_t MaxOS::processes::ELFProgramHeader64::type

The type of the program header (see ELFProgramType)

Definition at line 164 of file elf.h.

◆ virtual_address

uint64_t MaxOS::processes::ELFProgramHeader64::virtual_address

Where the segment is to be loaded in memory.

Definition at line 167 of file elf.h.


The documentation for this struct was generated from the following file: