
Dwarf Expert
Expert guidance for inspecting, verifying, and parsing DWARF debug info in compiled binaries.
- CCM score
- 74 of 100
- skills.sh installs
- 6K
- GitHub stars
- 8.4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers dwarfdump and llvm-dwarfdump searches, DIE lookups, and integrity checks with
llvm-dwarfdump --verifyand--statistics - Includes readelf fallbacks, macOS dSYM handling, and a table of parsing libraries: libdwarf, pyelftools, gimli, debug/dwarf, and LibObjectFile
- Enforces checks for optional attributes, abstract_origin and specification indirection, and type-chain traversal in DWARF code
- Designed for developers debugging DWARF output or building tools that read DWARF from C, Python, Rust, or Go
Install
$ npx -y skills add trailofbits/skills --skill dwarf-expert -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
DWARF Expert
Expertise for DWARF debug info: parsing and searching it, verifying its integrity, answering questions about the standard, and writing code that consumes it. Out of scope: runtime debugging (use gdb/lldb), reverse engineering beyond the DWARF sections (use Ghidra/IDA), and compiler-specific DWARF generation bugs.
Authoritative Sources
When precision matters, look standard details up instead of answering from memory:
- dwarfstd.org — the official specification. Web-search specific sections, e.g. "DWARF5 DW_TAG_subprogram attributes site:dwarfstd.org".
- LLVM —
llvm/lib/DebugInfo/DWARF/is a reliable reference implementation:DWARFDie.cpp(DIE and attribute access),DWARFUnit.cpp(compilation units),DWARFDebugLine.cpp(line tables),DWARFVerifier.cpp(validation). - libdwarf — the reference C implementation at github.com/davea42/libdwarf-code.
Parsing and Searching with dwarfdump
Details
- Repository
- github.com/trailofbits/skills
- Categories
- Debugging, CLI & Terminal, Security
More from trailofbits/skills
All 74- Devcontainer Setup6K
- Constant Time Testing6K
- Algorand Vulnerability Scanner6K
- Aflpp6K
- Ossfuzz6K
- Atheris6K
- Ton Vulnerability Scanner6K
- Cairo Vulnerability Scanner6K
- Wycheproof6K
- Interpreting Culture Index6K
- Substrate Vulnerability Scanner6K
- Yara Rule Authoring5.9K
- Libafl5.9K
- Burpsuite Project Parser5.9K
- Ruzzy5.9K
- Skill Improver5.8K
- Zeroize Audit5.6K
- Let Fate Decide5.5K
- Mutation Testing5.2K
- Dimensional Analysis5K
- Diagramming Code5K
- Trailmark4.8K
- Audit Augmentation4.7K
- Crypto Protocol Diagram4.7K
Similar to Dwarf Expert
More Debugging
elf-inspectionmohitmishra786/low-level-dev-skills772 installsGuide to inspecting Linux ELF binaries with readelf, objdump, nm, and ldd for linking and symbol diagnosis.
core-dumpsmohitmishra786/low-level-dev-skills915 installsPractical crash triage for production core dumps: enabling collection, loading in GDB or LLDB, and resolving symbols.
fuzzing-dictionarytrailofbits/skills6.1K installsDictionary-driven fuzzing guidance that supplies magic bytes, keywords, and protocol tokens to reach parser code paths.
debugging-instrumentsdpearson2699/swift-ios-skills4.4K installsInteractive LLDB, Memory Graph, and Instruments triage for iOS crashes, retain cycles, hangs, and profiling.
debugging-wizardjeffallan/claude-skills5.6K installsSystematic, hypothesis-driven debugger that reproduces, isolates, and verifies fixes for bugs and crashes.
apple-crash-symbolicationdotnet/skills4.5K installsSymbolicates .NET runtime frames in Apple .ips crash logs by resolving native backtraces to source locations.