Table of Contents Preface Author Introduction Heap Memory Diving into glibc heap malloc_chunk malloc_state Bins and Chunks Internal Functions Core Functions Security Checks Heap Exploitation First Fit Double Free Forging chunks Unlink Exploit Shrinking Free Chunks House of Spirit House of Lore House of Force House of Einherjar Secure Coding Guidelines