gef v2022.06 released: Multi-Architecture GDB Enhanced Features for Exploiters & Reverse-Engineers
GEF – GDB Enhanced Features
GEF is a kick-ass set of commands for X86, ARM, MIPS, PowerPC and SPARC to make GDB cool again for exploit dev. It is aimed to be used mostly by exploiters and reverse-engineers, to provide additional features to GDB using the Python API to assist during the process of dynamic analysis and exploit development.
It has full support for both Python2 and Python3 indifferently (as more and more distros start pushing
gdb compiled with Python3 support).
- One single GDB script.
- Entirely OS Agnostic, NO dependencies:
GEFis battery-included and is installable in 2 seconds (unlike PwnDBG).
- Fast limiting the number of dependencies and optimizing code to make the commands as fast as possible (unlike PwnDBG).
- Provides more than 50 commands to drastically change your experience in GDB.
- Easily extendable to create other commands by providing more comprehensible layout to GDB Python API.
- Works consistently on both Python2 and Python3.
- Built around an architecture abstraction layer, so all commands work in any GDB-supported architecture such as x86-32/64, ARMv5/6/7, AARCH64, SPARC, MIPS, PowerPC, etc. (unlike PEDA)
- Suited for real-life apps debugging, exploit development, just as much as CTF (unlike PEDA or PwnDBG)
- The unit testing structure has been re-designed to be more modular and flexible
- The documentation has been globally updated, moved from ReadTheDocs to GithubPages, and redesigned from
- Countless (potential) errors were fixed thanks to more integration of type hinting
- Debugged file formats (such as ELF) now rely on a abstraction layer. This means GEF can transparently support more file formats including PE or MachO (see
- Remote support has been entirely rewritten and is now fully exposed via the
gef.remotenamespace. This includes the Qemu (user and system) support.
- Many commands, relying on external dependencies (such as
emulate) were transfered to GEF-Extras. Therefore, GEF now has absolutely no dependency whatsoever, not even optional ones. Refer to the deprecation page of the documentation for a complete overview of the changes.
ida-interacthas been totally removed and is now entirely of GEF-Extras only. It has also been rewritten to drop Python XMLRPC and relies on the much more advanced
- A new subcommand appeared,
gef installwhich allows to install commands from
gef-extrason the fly, if you cannot clone the repository or just need a one-time command.
pcustomsupports class factory allowing the structure(s) defined to collect information from the runtime
- Some improvements were added to the stack canary detection
- On a more personal note, this release marks the 10 years anniversary 🎂 since the first lines of GEF were written!!
Emulating code in GDB via Unicorn-Engine (x86-64)
Copyright (c) 2013-2018 crazy rabbidz