Skip to content
drgn 0.0.12

New features:

* Support for getting parameters and variables in stack frames was added
  (e.g., prog.stack_trace(1)[0]).
* Stack traces now contain stack frames for inlined function calls.
* StackFrame.name, StackFrame.is_inline, and StackFrame.source() were
  added.
* Pretty-printing for stack frames was added.
* Support for DWARF type units was added by Jay Kamat.
* Support for DWARF DW_FORM_indirect was added by Jay Kamat.

API changes:

* The format of pretty-printed stack traces was changed.

Fixes:

* Evaluation of DWARF expressions was hardened against infinite loops.
* An invalid memory access/potential crash caused by a bad DW_OP_deref
  instruction in a DWARF expression was fixed.
* Addresses are now defined to wrap after the maximum address when
  reading memory.
* Memory reads from live processes was fixed on 32-bit hosts.
* Reading 32-bit float object values was fixed on big-endian hosts.
* A couple of minor packaging issues were fixed.
* Support for Python 3.10 (as of beta 2) was added.
* Incorrect type annotations for drgn.FaultError were fixed.
* Missing documentation and type annotations were added for
  Program.__contains__().

Internals:

* Usage of OpenMP tasking was removed.
* Kernel builds for VM testing were moved to GitHub releases.
* Scheduled kernel builds for VM testing were added.