The Executable and Linkable Format is the file format used for executable files, libraries, object files in UNIX-like systems. elfp (short form for elfparse) is a simple library to parse ELF files.

Goal is to add complete parsing capability for 64-bit files first.

Sourcecode

  1. Writing an ELF Parsing Library - Part1 - What is ELF?
  2. Writing an ELF Parsing Library - Part2 - Piloting the Library
  3. Writing an ELF Parsing Library - Part3 - Internal Data Structures - 1 : src
  4. Writing an ELF Parsing Library - Part4 - Internal Data Structures - 2 : src
  5. Writing an ELF Parsing Library - Part5 - Implementing basic API : src
  6. Writing an ELF Parsing Library - Part6 - The ELF Header : src
  7. Writing an ELF Parsing Library - Part7 - Program Headers : src
  8. Writing an ELF Parsing Library - Part8 - Program Header Table : src
  9. Writing an ELF Parsing Library - Part9 - Understanding PHDR, INTERP, GNU_STACK segment types : src