Binary loading#

Scope#

  • Logical Address Space
  • Compilation, linking and loading trajectory
  • ELF format
  • Object file structure
    • data sections
    • code sections
    • symbol tables
  • Position Independent Code (PIC)
  • Tablice relokacji
  • Zasada działania linkera
  • Odwołania do symboli dynamicznych
    • Global Offset Table (GOT)
    • Procedure Linkage Table (PLT)
  • Segmenty w pliku ELF
  • Address Space Layout Randomization (ASLR)
  • Zasada działania loadera
  • Ładowanie bibliotek w czasie wykonania

Reference#

  1. Lecture Slides
  2. Code samples