Every entry has a one-line annotation saying what it is good for and when to reach for it. Nothing
here is filler; if a link is listed, it earns its place for this chapter specifically.
Where a deep link would be guessed rather than known, the project or documentation root is linked and
the page is described instead. AOSP entries give directory and file paths only — never line
numbers, because they change with every release.
The single best match for this chapter: bits, integers, machine code, the memory hierarchy, linking, exceptions, virtual memory, and system-level I/O, all from a programmer's point of view.
Free and complete online. Read the Virtualization part for processes, address spaces, and paging, and the Concurrency part for threads, locks, and condition variables.
Modern Operating Systems — Andrew S. Tanenbaum and Herbert Bos (Pearson)
Broader and more encyclopaedic than OSTEP; the reference to reach for when you want scheduling, deadlock, or filesystem design covered exhaustively.
Computer Organization and Design — Patterson & Hennessy (Morgan Kaufmann) — ARM Edition available
The hardware half of this chapter: instruction encoding, datapath, pipelining, and the memory hierarchy, taught against ARM rather than a toy machine.
The Art of Debugging with GDB, DDD, and Eclipse — Norman Matloff and Peter Jay Salzman (No Starch Press)
Teaches debugger technique as a discipline rather than a command list; the mental model transfers directly to LLDB and to on-device debugging.
The Linux Programming Interface — Michael Kerrisk (No Starch Press)
The definitive reference for the syscall surface this chapter introduces: processes, signals, memory mappings, file descriptors, and threads.
Computer Architecture: A Quantitative Approach — Hennessy & Patterson
Optional depth. Read it only if caches, speculation, and microarchitectural side channels become relevant to your work.
The authoritative specification: instruction encodings, exception levels EL0–EL3, system registers, and the memory model. Enormous — use it as a lookup, never as reading material.
The procedure call standard: argument registers, return values, callee-saved registers, stack alignment, and the ELF ABI for AArch64. The aapcs64 document is the one you want for reading disassembly.
Arm Cortex-A Series Programmer's Guide for ARMv8-A — available from the documentation portal above
A gentler on-ramp than the ARM ARM: exception handling, the MMU, caches, and barriers explained with worked examples.
Arm Memory Tagging Extension (MTE) documentation — search the Arm documentation portal for "Memory Tagging Extension"
Explains the hardware behind Android's use-after-free and buffer-overflow detection; relevant once you reach 19-Memory.
These are the primary sources for the bug classes this chapter introduces. Read them for the
mechanism, not for the exploit code, most of which no longer works against modern mitigations.
The paper that defined the stack buffer overflow: frame layout, saved return address overwrite, and why the copy direction matters. Everything about stack corruption descends from it.
The heap counterpart: allocator metadata, free-list manipulation, and why heap exploitation is about shaping rather than overflowing.
w00w00 on Heap Overflows — Matt Conover and the w00w00 Security Team, 1999
The other foundational heap paper; widely mirrored, cite by title and author. Explains overflow into adjacent object data rather than into metadata.
The Advanced Return-into-lib(c) Exploits — Nergal, Phrack issue 58
Introduces chaining library calls to defeat non-executable stacks; the direct ancestor of return-oriented programming.
Basic Integer Overflows — blexim, Phrack issue 60
Signed and unsigned confusion, truncation, and sign extension turned into memory corruption; the two's complement section of this chapter made concrete.
Exploiting Format String Vulnerabilities — scut / team teso, 2001
Why a byte's meaning depends entirely on the convention in force, taken to its logical conclusion.
Current-generation write-ups; several Android posts walk a memory corruption bug from crash to full compromise using exactly this chapter's vocabulary.