-
Notifications
You must be signed in to change notification settings - Fork 0
GDB
Quintin edited this page Mar 28, 2023
·
2 revisions
GDB (The GNU Project Debugger) is a debugging tool that serves a dual purpose as a dynamic analysis tool. It lets you run a target process and step through its instructions one at a time.
I highly recommend using GEF or pwndbg instead of stock GDB. It displays much more information by default (registers, stack, heap, etc.). It is also very easy to install.
# via the install script
## using curl
$ bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
## using wget
$ bash -c "$(wget https://gef.blah.cat/sh -O -)"
# or manually
$ wget -O ~/.gdbinit-gef.py -q https://gef.blah.cat/py
$ echo source ~/.gdbinit-gef.py >> ~/.gdbinit
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh