Setup & Installation
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