#dwarf #gdb #ebpf

ghostscope-dwarf

DWARF parser and symbolizer used by GhostScope to resolve variables and types at runtime

1 unstable release

new 0.1.1 Nov 8, 2025

#27 in #gdb


Used in ghostscope-compiler

GPL-3.0-only

710KB
14K SLoC

Ghostscope DWARF Analysis Library

High-performance DWARF analysis library with on-demand loading architecture inspired by GDB's cooked index system.


ghostscope-dwarf

ghostscope-dwarf parses DWARF data from ELF binaries so GhostScope can resolve variables, types, and addresses at runtime. It wraps gimli, object, memmap2, and symbol demanglers, and exposes async-friendly helpers for the rest of the workspace.

Consumers typically do not use this crate directly; it is re-exported via higher-level components. See the main GhostScope docs for usage examples: https://github.com/swananan/ghostscope#readme.

Dependencies

~14–28MB
~382K SLoC