An executable or shared object file's program header table is an array of structures, each of which describes a segment or the other information a system needs to prepare for execution. An object file segment contains one or more sections. Program headers are meaningful only for executable and shared object files. A file specifies its own program header size with the ELF header's members.
Record Field | Description |
|
|
Full Usage:
PHAlignment
Field type: uint64
|
|
Full Usage:
PHFileSize
Field type: uint64
|
|
|
|
Full Usage:
PHMemSize
Field type: uint64
|
The number of bytes in the memory image of the segment. This can be greater than PHFileSize as some sections (w/ SHTNoBits type) occupy nothing in the binary file, but can be mapped in the segment at runtime.
|
Full Usage:
PHOffset
Field type: uint64
|
|
|
|
|
|