dwarf-expert

Diagnose and extract DWARF debug information from compiled binaries.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill dwarf-expert-ayehiaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dwarf-expert
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/dwarf-expert
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill dwarf-expert-ayehiaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates confusion and debugging time caused by malformed, hard-to-read DWARF debug information in compiled binaries.

Core Features & Use Cases

  • Standards-focused DWARF guidance (v3–v5): Answer DWARF format questions and explain DIEs, attributes, and debug section behavior using authoritative references.
  • Reliable DWARF verification: Validate DWARF integrity and diagnose structural issues using llvm-dwarfdump verification and error reporting modes.
  • Practical DWARF extraction & parsing: Use dwarfdump/llvm-dwarfdump plus targeted tooling (e.g., grep-based filtering or Python parsing) to locate and inspect specific DIE nodes and sections.

Quick Start

Ask the AI to verify a binary’s DWARF structure and summarize any reported issues with llvm-dwarfdump --verify.

Frequently Asked Questions about dwarf-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify DWARF debug information in a compiled binary?

Run llvm-dwarfdump --verify on the compiled binary to validate DWARF structural integrity and report any malformed DIE nodes or attribute errors.

What is the best way to parse DIE nodes from DWARF debug sections?

Parse DIE nodes by piping dwarfdump or readelf output through grep-based filtering or Python scripts to locate and inspect specific debug information entries within the binary.

How do I interpret DWARF v3 to v5 attributes and debug section behavior?

Interpret DWARF v3 to v5 attributes by referencing authoritative DWARF standard sources to explain debug information entry semantics, attribute meanings, and debug section behavior.

Why does llvm-dwarfdump report structural issues in my binary?

llvm-dwarfdump reports structural issues when the DWARF debug data contains malformed DIE nodes or invalid attribute references, which can be diagnosed using its error reporting modes.

Can I extract specific DWARF debug data using dwarfdump and readelf?

Extract specific DWARF debug data by combining dwarfdump or readelf output with targeted tooling like grep-based filtering or Python parsing to locate and inspect individual DIE nodes.