Heap Foundations

This section covers the fundamental principles of the glibc heap allocator, including its internal structure, algorithms, and common primitives used in heap exploitation.

TechniqueDescription
OverviewVisual guide to chunk anatomy and allocator behavior.
CheatsheetReference for common heap commands and structures.
First-FitUnderstanding the basic allocation strategy.
Tcache IndexHow glibc calculates bin indices for small chunks.
Safe-LinkingDecryption and logic of the modern pointer protection.
Table 1: Foundational topics in glibc heap.