killchain-compendium/Exploits/Binaries/gdb CheatSheet.md

16 lines
212 B
Markdown

# 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
```