Agent skill · Code Review & Quality

dwarf-expert

Analyzes DWARF debug information in compiled binaries. Use when inspecting .debug_* sections, DIE trees, or DW_TAG_/DW_AT_ entries with dwarfdump/llvm-dwarfdump or readelf, verifying debug info with llvm-dwarfdump --verify, answering DWARF standard questions, or writing code that parses DWARF (libdwarf, pyelftools, gimli).

trailofbitsgithub.com/trailofbitsGitHub ↗
claude-codecan modify filesCC-BY-SA-4.0
Install
npx skills add trailofbits/skills --skill dwarf-expert --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGrepGlobWebSearchWebFetch
Path: plugins/dwarf-expert/skills/dwarf-expert/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 6,426
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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: 1. **dwarfstd.org** — the official specification. Web-search specific sections, e.g. "DWARF5 DW_TAG_subprogram attributes site:dwarfstd.org". 2. **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). 3. **libdwarf** — the reference C implementation at github.com/davea42/libdwarf-code. # Parsing and Searching with dwarfdump Prefer `dwarfdump` over `readelf` for DWARF-specific work. Two implementations exist — libdwarf's `dwarfdump` and LLVM's `llvm-dwarfdump` — with different options, and a bare `dwarfdump` command may be either: check `dwarfdump --version` first. The options below a

What's inside
Steps it walks through
  1. Searching DIEs
Ships with 2 files
  • agents/openai.yaml
  • assets/trail-of-bits-mark.svg
More from skills
All skills →
About this skill
What does the dwarf-expert skill do?

Analyzes DWARF debug information in compiled binaries. Use when inspecting .debug_* sections, DIE trees, or DW_TAG_/DW_AT_ entries with dwarfdump/llvm-dwarfdump or readelf, verifying debug info with llvm-dwarfdump --verify, answering DWARF standard questions, or writing code that parses DWARF (libdwarf, pyelftools, gimli).

How do I install it?

Run `npx skills add trailofbits/skills --skill dwarf-expert --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From trailofbits/skills, a repository with 6,426 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going