gdb
GDB Crash Course
1. gdb 调试利器 — Linux Tools Quick Tutorial
# Commands
disasdisassemble (default is current function)where/frameprint the stack framesistep in instruction level
# Break
b *0x400f30 set breakpoint at memory
# Format Letters
Examine memory: x/FMT ADDRESS.
Format letters are o(octal), x(hex), d(decimal), u(unsigned decimal), t(binary), f(float), a(address), i(instruction), c(char), s(string)
# Misc
<C-x> + <C-a>: Code view