gdb-peda
gdb-peda is a Python GDB script that provides handy commands to speed up exploit development on Linux/Unix systems. It also serves as a framework for writing custom interactive Python GDB commands.
Description
gdb-peda enhances the GDB debugger with Python scripting to assist in exploit development processes. It offers numerous built-in commands that streamline debugging tasks commonly encountered during vulnerability research and exploit writing on Linux and Unix platforms.
The tool is particularly useful for security researchers and developers who need to analyze binaries, inspect memory, and manipulate registers efficiently. By integrating directly into GDB, it transforms the standard debugging experience into a more powerful environment tailored for exploitation tasks.
As a framework, gdb-peda allows users to extend its functionality by creating custom Python commands, making it adaptable to specific debugging workflows and exploit development needs.
How It Works
gdb-peda operates as a Python script loaded into GDB, extending its capabilities with custom commands implemented in Python. It leverages GDB's Python API to provide interactive commands that display enhanced information such as context, memory mappings, registers, and stack traces in a more readable format, accelerating analysis during exploit development.
Installation
sudo apt install gdb-pedaExamples
sudo apt install gdb-pedagdb -q ./binarystartcontextchecksecpattern_create 200pattern_offset <offset>