Minimal Runtime (No libc)
This booklet reveals how Linux programs start and terminate without `libc`, dynamic linking, or hidden runtime support. Using pure x86-64 assembly, GAS Intel syntax, the System V AMD64 ABI, ELF metadata, and raw system calls, it builds a minimal runtime that handles `_start`, arguments, stack alignment, constructors, `main()`, destructors, exit handlers, and final process termination.
70 pages
1
2reads 24downloads