hobune Channels Contact About Donate

In-depth: ELF - The Extensible & Linkable Format

View comments (103)

Description YT

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/elf.pdf
- elf.h from the Linux kernel: https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/elf.h
- How programs get run: https://lwn.net/Articles/631631/
- TLS: https://docs.oracle.com/cd/E19120-01/open.solaris/819-0690/chapter8-5/index.html
- Relocation: https://refspecs.linuxbase.org/elf/gabi4+/ch4.reloc.html
- sstrip: https://github.com/BR903/ELFkickers/