https://github.com/pwndbg/pwndbg
Exploit Development and Reverse Engineering with GDB & LLDB Made Easy
https://github.com/pwndbg/pwndbg
binary-ninja capture-the-flag ctf debugging disassembler exploit-development gdb gef hacking-tool ida-pro linux lldb low-level malware-analysis pwnable pwndbg python reverse-engineering
Last synced: 8 days ago
JSON representation
Exploit Development and Reverse Engineering with GDB & LLDB Made Easy
- Host: GitHub
- URL: https://github.com/pwndbg/pwndbg
- Owner: pwndbg
- License: mit
- Created: 2015-02-22T21:35:19.000Z (almost 12 years ago)
- Default Branch: dev
- Last Pushed: 2026-10-31T23:43:42.000Z (26 days ago)
- Last Synced: 2026-11-01T00:08:17.870Z (26 days ago)
- Topics: binary-ninja, capture-the-flag, ctf, debugging, disassembler, exploit-development, gdb, gef, hacking-tool, ida-pro, linux, lldb, low-level, malware-analysis, pwnable, pwndbg, python, reverse-engineering
- Language: Python
- Homepage: https://pwndbg.re/
- Size: 157 MB
- Stars: 11,125
- Watchers: 127
- Forks: 1,306
- Open Issues: 215
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Claude: CLAUDE.md
Awesome Lists containing this project
- awesome-pentest-reference - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering Tools)
- awesome-csirt - pwndbg - Exploit Development and Reverse Engineering with GDB Made Easy (Malware Analysis & Reverse Engineering / Reverse Engineering)
- awesome-python - pwndbg/pwndbg - Exploit Development and Reverse Engineering with GDB & LLDB Made Easy (Security / Reverse Engineering)
- awesome-ctf - https://github.com/pwndbg/pwndbg
- awesome-reverse-engineering - pwndbg/pwndbg - GDB插件,辅助漏洞开发和逆向 (GDB / 工具)
- awesome-pentest-tools - pwndbg - GDB plugin focused on exploitation and CTF workflows. (Reverse Engineering & Binary Analysis)
- awesome-reverse-engineering - pwndbg - Debugger extensions for inspecting memory, assembly, and runtime state during binary analysis. (Debuggers / Books)
- awesome-pentest - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Reverse Engineering Tools)
- awesome-ctf - Pwndbg - A GDB plugin that provides a suite of utilities to hack around GDB easily. (Reversing)
- awesome-pentest - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering Tools / Penetration Testing Report Templates)
- penetration-testing - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Reverse Engineering Tools)
- awesome-ctf - Pwndbg - A GDB plugin that provides a suite of utilities to hack around GDB easily. (Reversing)
- awesome-rea - pwndbg - Python plug-in that loads into GDB, or runs as a REPL around LLDB, to make live program state easier to inspect. <sub>Tool · [Full entry](https://awesomerea.org/resources/pwndbg/)</sub> (Resources / Native Binary)
- venom - `pwndbg` - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Penetration Testing Report Templates)
- awesome-engineering-toolbox - pwndbg - GDB plugin that makes debugging with GDB easier. (Linux System Tools / Debugging & Development)
- awesome-python-fa - pwndbg - افزونهای برای GDB جهت دیباگ راحتتر باینریها. (ابزارهای امنیتی / کار با زمان و تقویم)
- awesome-hacking-lists - pwndbg/pwndbg - Exploit Development and Reverse Engineering with GDB & LLDB Made Easy (Python)
- awesome-fancy-toolkit - a GDB plug-in that makes debugging with GDB suck less, pwndbg
- awesome-pentest - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Reverse Engineering Tools)
- awesome-reverse-engineering - pwndbg - 2026-11 · ★ 11k (🐞 Debuggers)
- awesome-github-projects - pwndbg - Exploit Development and Reverse Engineering with GDB & LLDB Made Easy ⭐11,225 `Python` 🔥 (⚙️ Backend & APIs)
- github-ultimate-repos - pwndbg/pwndbg - | ⭐ 11,105★ | 🍴 1,301 | 💻 `Python`🔗 <https://github.com/pwndbg/pwndbg>📝 Exploit Development and Reverse Engineering with GDB & LLDB Made Easy⚙️ `Binary PE/ELF parsing -> recursive-descent disassembly to intermediate IL (P-Code/ESIL) -> CFG dominator tree reconstruction -> network packet synthesis & vulnerability triage.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [30] CYBERSECURITY, REVERSE ENGINEERING, BINARY EXPLOITATION & VULNERABILITY RESEARCH)
- fucking-awesome-pentest - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Reverse Engineering Tools)
- awesome-ida-x64-olly-plugin - pwndbg - Pwndbg is a GDB plug-in that makes debugging with GDB suck less, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers and exploit developers. (GDB Plugins)
- awesome-ctf-resources - Pwndbg - Exploit Development and Reverse Engineering with GDB Made Easy. (Reversing)
- awesome-penetest - pwndbg - GDB plug-in that eases debugging with GDB, with a focus on features needed by low-level software developers, hardware hackers, reverse-engineers, and exploit developers. (Reverse Engineering / Reverse Engineering Tools)
- awesome-ctf - Pwndbg - A GDB plugin that provides a suite of utilities to hack around GDB easily. (Reversing)
README

# pwndbg
[](https://choosealicense.com/licenses/mit/)
[](https://github.com/pwndbg/pwndbg/actions/workflows/tests.yml)
[](https://app.codecov.io/github/pwndbg/pwndbg/tree/dev)
[](https://discord.gg/x47DssnGwm)
`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 our [Features page](https://pwndbg.re/stable/features/)
and [CHEATSHEET][CHEATSHEET] (feel free to print it!). If you have any questions you may read the
[documentation](https://pwndbg.re/stable/) or asks us in our [Discord server](https://discord.gg/x47DssnGwm).
[CHEATSHEET]: https://pwndbg.re/dev/CHEATSHEET.pdf
Want Pwndbg to keep moving fast, or, have us give a talk about it? [Sponsor us!](https://github.com/sponsors/pwndbg)
## Why?
Vanilla GDB and LLDB are terrible to use for reverse engineering and exploit development.
Typing `x/30gx $rsp` or navigating cumbersome LLDB commands is not fun and often provides
minimal information. The year is 2026, and core debuggers still lack many user-friendly
features such as a robust hexdump command. WinDbg users are completely lost when they
occasionally 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.
## Installation
See [installation instructions](https://pwndbg.re/stable/setup).
## What about ...?
Many past ([gdbinit][gdbinit], [PEDA][PEDA]) and present projects ([GEF][GEF],
[bata24/GEF][bata24/GEF]) offer great features, but are hard to extend and are packaged
as large single files ([103KB][gdbinit2], [195KB][peda.py], [423KB][gef.py],
[5.24MB][bata24/gef.py]). Pwndbg aims to replace them with a faster, cleaner, and
more robust implementation.
[gdbinit]: https://github.com/gdbinit/Gdbinit
[gdbinit2]: https://github.com/gdbinit/Gdbinit/blob/master/gdbinit
[PEDA]: https://github.com/longld/peda
[peda.py]: https://github.com/longld/peda/blob/master/peda.py
[GEF]: https://github.com/hugsy/gef
[gef.py]: https://github.com/hugsy/gef/blob/main/gef.py
[bata24/GEF]: https://github.com/bata24/gef
[bata24/gef.py]: https://github.com/bata24/gef/blob/dev/gef.py
## When to Use GDB or LLDB?
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 in [GitHub Issues][lldb_tracker].
>
> If you encounter any problems, feel free to report them or discuss on our [Discord server](https://discord.gg/x47DssnGwm).
[lldb_tracker]: https://github.com/pwndbg/pwndbg/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22LLDB%20Port%22
### Compatibility Table
| 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 |
## Contributing
Pull requests are welcome ❤️. Check out the [Contributing Guide](https://pwndbg.re/dev/contributing/).
## Acknowledgements
Pwndbg was originally created by [Zach Riggle](https://github.com/zachriggle), who is no longer with us. We want to thank Zach for all of his contributions to pwndbg and the wider security community.