# compile
gcc -std=c99 -fno-stack-protector -Wno-deprecated-declarations -ggdb -o simple simple.c
# run
gdb ./simple
# demo commands
list main
list greeter
list fun
disassemble main
disassemble greeter
disassemble fun
info register
b main
b greeter
b fun
run
# show
- return address / register values
- 11a -> "8a"
- segfault
- jump fun