In-depth: ELF - The Extensible & Linkable Format
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/ 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