LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/trailofbits/skills --skill dwarf-expert
or paste the link and ask your coding assistant to install it
https://github.com/trailofbits/skills/tree/main/plugins/dwarf-expert
View on GitHub

What This Skill Does

Adds deep knowledge of the DWARF debug format (versions 3-5) to an agent. Covers parsing and validating DWARF data from compiled binaries, answering questions about the standard, and writing or reviewing code that works with DWARF structures.

Rather than manually cross-referencing the DWARF spec at dwarfstd.org and tracing through LLVM source, the skill surfaces the right commands, library APIs, and standard references in context.

When to use it

  • Validating DWARF debug info in a compiled binary before distribution
  • Reading DIE trees and attribute values from an ELF binary with dwarfdump
  • Writing a Rust parser using gimli that correctly handles DW_TAG_subprogram entries
  • Comparing debug info quality across compiler optimization levels with llvm-dwarfdump --statistics
  • Diagnosing malformed DWARF sections causing incorrect variable display in a debugger