How a Buffer Overflow Overwrites the Return Address in C and x86-64

tetsuoai · x · 2026-09-10

A concise visual explainer of buffer overflow mechanics in C on x86-64: how writing past a buffer's bounds smashes the saved return address on the stack and hijacks control flow. A handy primer on memory layout and classic memory-safety exploits.

Original post →

More from coding & agent

coding & agent channel →