drgn – rogrammable debugger

drgn is a programmable debugger that puts scripting at the centre of the debugging workflow.

It exposes program types and variables directly to Python, which makes it well suited to exploring complex state in large programs. The project was developed for Linux kernel debugging, can also debug userspace C programs, and can be used both as a debugger and as a library for building debugging and introspection tools.

This is free and open source software.

Key Features

  • Exposes program types, variables, and memory to Python for expressive debugging scripts.
  • Can debug the running Linux kernel, live processes, and kernel or userspace core dumps.
  • Includes predefined helpers for common Linux inspection tasks.
  • Can be used as a library for building custom debugging and introspection tools.
  • Available through several Linux distribution package managers as well as pip.

Website: github.com/osandov/drgn
Support:
Developer: Omar Sandoval
License: GNU Lesser General Public License v2.1

drgn help

drgn is written in Python and C. Learn Python with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

Debuggers
LLDBNext generation, high-performance debugger
GhidraSoftware reverse engineering framework
DelveSource level debugger for the Go programming language
GDBThe GNU Debugger
ValgrindA memory debugger and profiler
Radare2Portable reversing framework
XdebugExtension for PHP to aid debugging and development
iaitoGraphical interface for radare2
React Native DebuggerStandalone app for debugging React Native apps
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
bashdbSource-code debugger for bash; follows the GDB command syntax
SysprofProfile an application or entire system
NemiverStandalone graphical debugger for GNOME

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments