
GDB Dashboard is a visual tool for GDB modules, developed in pure Python, providing a modular visual interface for GDB in Python.
GDB Dashboard provides a standalone single-file .gdbinit, which, among other features, enables a configurable dashboard to display the most relevant information during program execution. Its main goal is to reduce the number of GDB commands issued to check the current program state, allowing researchers to focus on control flow.
1. Single GDB initialization file;
2. Supports writing the dashboard to the main GDB console or an external TTY;
3. Interacts with GDB using the native Python API;
4. Includes several default modules to meet basic needs: source code, assembly, registers, etc.;
5. User-defined modules can be easily developed by extending Python classes;
6. Additional configuration files (GDB and Python) are read from ~/.gdbinit.d/.
7. Fully customizable styled user interface and dynamic command prompt;
8. Optional syntax highlighting using Pygments;
9. Does not redefine any GDB commands; instead, all functionalities can be used as subcommands of the main dashboard command;
Python 3
Since the tool is developed based on Python 3, we first need to install and configure the latest version of the Python 3 environment on our local device.
Next, researchers can directly use the following command to clone the project source code to their local:
git clone https://github.com/cyrus-and/gdb-dashboard.git
Simply place the .gdbinit file in the root path of your working directory:
wget -P ~ https://github.com/cyrus-and/gdb-dashboard/raw/master/.gdbinit
You can also install Pygments to enable syntax highlighting:
pip install pygments
This project is developed and released under theMITopen-source license.
GDB Dashboard:
https://github.com/cyrus-and/gdb-dashboard

Share
Collect
Like
View