ELF Program Headers

Overview

Provide a segmented view of the binary, complementing the section view.

  • Type of segment, offset in the binary file, alignments, and virtual addresses to be considered.

  • Target the operating system that will load the program and not the linker as the sections do.

Types

  • LOAD: Segment should be loaded in memory.

  • INTERP: Segment containing the name of the interpreter to be used.

  • DYNAMIC: Segment containing the .dynamic section, to be used by the interpreter.

Last updated