How Functions Begin on a Modern System
Every text on x86 assembly teaches the same function prologue: push %rbp mov %rsp, %rbp Save the old frame pointer, point it at the current stack top, and now you have a stable base to address locals and walk the stack. It is in every textbook, every course, every disassembly screenshot from 2010. I recently disassembled every executable on my Linux machine, all 2,749 of them, and counted how each function begins....