Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.1k
Exploit Development and Reverse Engineering with GDB & LLDB Made Easy
License
pwndbg/pwndbg
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
pwndbg (/paʊnˈdiˌbʌɡ/) is a GDB and LLDB plug-in that makes debugging suck less,with a focus on features needed by low-level software developers, hardware hackers,reverse-engineers and exploit developers.
It has a boatload of features, see ourFeatures pageandCHEATSHEET (feel free to print it!). If you have any questions you may read thedocumentation or asks us in ourDiscord server.
Vanilla GDB and LLDB are terrible to use for reverse engineering and exploit development.Typingx/30gx $rsp or navigating cumbersome LLDB commands is not fun and often providesminimal information. The year is 2025, and core debuggers still lack many user-friendlyfeatures such as a robust hexdump command. WinDbg users are completely lost when theyoccasionally need to bump into GDB or LLDB.
Pwndbg is a Python module which can be loaded into GDB or run as a REPL interface for LLDB.It provides a suite of utilities and enhancements that fill the gaps left by these debuggers,smoothing out rough edges and making them more user-friendly.
Many past (gdbinit,PEDA) and present projects (GEF,bata24/GEF) offer great features, but are hard to extend and are packagedas large single files (103KB,195KB,423KB,4.12MB). Pwndbg aims to replace them with a faster, cleaner, andmore robust implementation.
Pwndbg supports both GDB and LLDB, and each debugger has its own strengths.Here's a quick guide to help you decide which one to use:
| Use Case | Supported Debugger |
|---|---|
| Debugging Linux binaries or ELF files | GDB,LLDB |
| Debugging Mach-O binaries on macOS | LLDB |
| Linux kernel debugging (qemu-system) | GDB,LLDB |
| Linux user-space emulation (qemu-user) | GDB |
| Embedded debugging (ARM Cortex M* or RISC-V/32) | GDB,LLDB |
Pwndbg ensures a consistent experience across both, so switching between them is seamless.
The LLDB implementation in pwndbg is still in early-stage and may contain bugs or limitations.
Known issues are tracked inGitHub Issues.If you encounter any problems, feel free to report them or discuss on ourDiscord server.
| Feature | Supported Version | Notes |
|---|---|---|
| pwndbg-gdb | - Python 3.10+ - GDB 12.1+ | Battle-tested on Ubuntu 22.04/24.04 |
| pwndbg-lldb | - Python 3.12+ - LLDB 19+ | Experimental/early-stage support |
| qemu-user | QEMU 8.1+ | vFile API is needed for vmmap |
| qemu-system | QEMU 6.2+ | Supported version since ubuntu 22.04 |
Pull requests are welcome ❤️. Check out theContributing Guide.
Pwndbg was originally created byZach Riggle, who is no longer with us. We want to thank Zach for all of his contributions to pwndbg and the wider security community.
About
Exploit Development and Reverse Engineering with GDB & LLDB Made Easy
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
