Pentest Tools

Published on September 13th, 2015 📆 | 1738 Views ⚑

0

GDB dashboard — Modular visual interface for GDB


iSpeech.org
This comes as a standalone single-file .gdbinit which, among the other things, enables a configurable dashboard showing the most relevant information during the program execution. Its main goal is to reduce the number of GDB commands issued to inspect the current program status allowing the programmer to focus on the control flow instead.

[adsense size='1']

Features

  • Single GDB init file.
  • Interaction with GDB using the native Python API.
  • Several default modules are included to address the most basic needs: source code, assembly, registers, etc.).
  • User-defined modules can be easily developed by extending a Python class.
  • Additional configuration files (both GDB and Python) are read from ~/.gdbinit.d/.
  • Fully stylable user interface and dynamic command prompt.
  • No GDB command has been redefined, instead all the features are available as subcommands of the main dashboard command.
 [adsense size='1']

Default modules

Follows the list of bundled default modules. Refer to the GDB help system for the full syntax.

  • assembly shows the disassembled code surrounding the program counter. The instructions constituting the current statement are marked, if available.
  • history lists the last entries of the GDB value history.
  • memory allows to inspect memory regions.
  • registers shows the CPU registers and their values.
  • source shows the program source code, if available.
  • stack shows the current stack trace including the function name and the file location, if available. Optionally list the frame arguments and locals too.
  • threads lists the currently available threads.
  • expressions watches user expressions.

Installation

Just place .gdbinit in your home directory, for example:





wget -P ~ git.io/.gdbinit

 

 

Source && Download



Comments are closed.