# GDB CheatSheet ## Cast a register value * Cast the content of a register to char ```sh p *(char **)$rax ``` ## Show Instructions Show the next 70 instructions under the current position ```sh x/70i $pc ``` ## Set Breakpoint Set breakpoint to address ```sh b *0xdeadbeef ```