Debugging in Assembly

Lesson overview

Topics covered: reading assembly output, gcc -S, understanding compiler optimizations.

Debugging in Assembly

gcc -S source.c - generate assembly output
Reading asm: understanding register usage, stack frames
Optimizations visible in assembly, -fno-omit-frame-pointer

Article author: Arthur Isaev