In-depth: ELF - The Extensible & Linkable Format
stacksmashing stacksmashing
214K subscribers
185,413 views
0

 Published On Oct 27, 2020

ELF files are everywhere: From your PS4, to the Wii, to any Linux device out there. In this video we explore the Extensible & Linkable Format, and understand how it works - on the byte level!

Errata:
- At the beginning I say extensible while displaying executable and linkable file format - Extensible is the old name, nowadays ist called Executable. Must’ve gotten confused :)

Further reading:
- The ELF specification: https://refspecs.linuxfoundation.org/...
- elf.h from the Linux kernel: https://elixir.bootlin.com/linux/late...
- How programs get run: https://lwn.net/Articles/631631/
- TLS: https://docs.oracle.com/cd/E19120-01/...
- Relocation: https://refspecs.linuxbase.org/elf/ga...
- sstrip: https://github.com/BR903/ELFkickers/

Timestamps:
0:00 Intro
0:47 segment and section differentiation
2:05 ELF structure
3:39 ELF header data structure
9:34 Program header data structure
13:54 Section header data structure

show more

Share/Embed