#gdb walkthrough ##opening a program into gdb `gdb ./program` ##to run a program into gdb `run` ##to provide an argument to program `run robert yan mike` ##to set a breakpoint `break *main` ##to see register `info register` ## to see particular register value `print $rax` -Note: Variable are referenced dollar sign "$" in gdb ## examine an instruction at rip `x/i $rip` note: examine can instruction at different format ## examine 10 instruction at rip `x/10i $rip ## disassemble main function `disass main` ## disassembly of my hello function `disass my_hello_function` ##