Pwndbg
Introduction
Pwndbg is an extension for GDB that enhances debugging with advanced tools and a more intuitive interface. It is particularly useful for security analysis and binary exploitation.
Features
- Enhanced Register View: Displays real-time register values with color coding.
- Interactive Disassembly: Highlights assembly code syntax.
- Memory Inspection: Simplifies heap, stack, and memory segment analysis.
- Custom Commands: Adds useful commands like
heap
,vmmap
, andtelescope
.
Installation
- Open a terminal.
-
Install Pwndbg using the following command:
pacman -S pwndbg-git
Install verification
To verify that Pwndbg has been installed correctly, open GDB and check if Pwndbg is loaded:
gdb
You should see a message indicating that Pwndbg is activated.
Uninstall
To remove Pwndbg from your system, use:
pacman -Rns pwndbg-git
Usage
Launching Pwndbg
Start GDB with your program:
gdb -q ./my_program
Once inside GDB, you can use Pwndbg commands like:
pwndbg> heap
pwndbg> vmmap
pwndbg> telescope $rsp
Official documentation & More Info
Contributing
If you want to contribute to Pwndbg, visit the official GitHub repository for contribution guidelines.
Support
For support and troubleshooting, check the GitHub issues section of the Pwndbg repository.
License
Pwndbg is released under the MIT License. Refer to the GitHub repository for details.