dwarf-expert

Analyze DWARF debug files and answer format questions using dwarfdump and readelf.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/andrescardonas7/salchipapa-web --skill dwarf-expert-andrescardonas7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dwarf-expert
Source: https://github.com/andrescardonas7/salchipapa-web/tree/main/.cursor/skills/dwarf-expert
Command: npx skills add https://github.com/andrescardonas7/salchipapa-web --skill dwarf-expert-andrescardonas7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers and reverse engineers understand and interact with DWARF debug information embedded in binaries, simplifying the analysis of compiled code.

Core Features & Use Cases

  • DWARF Standard Expertise: Provides in-depth knowledge of DWARF versions 3, 4, and 5.
  • Binary Analysis: Assists in parsing and verifying DWARF data using tools like dwarfdump and readelf.
  • Use Case: Debugging a complex C++ application where understanding the structure of local variables and function parameters is crucial for identifying a bug. This Skill can help parse the DWARF information to reveal these details.

Quick Start

Use the dwarf-expert skill to parse the DWARF information from the binary located at '/path/to/my/executable'.

Frequently Asked Questions about dwarf-expert

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

FAQPage Schema
How do I parse DWARF debug information from an ELF binary?

To parse DWARF debug information, you can use tools like `dwarfdump`, `readelf`, or `llvm-dwarfdump` to extract and verify debugging data from compiled binaries, revealing details about function parameters and local variables.

What is DWARF debug format used for in binary analysis?

DWARF debug format is used in binary analysis to map compiled machine code back to the original source code structure. It stores data about variables, functions, and data types, which simplifies reverse engineering and debugging complex applications.

Does this DWARF parser support version 5 debug information?

Yes, this expertise supports analyzing DWARF debug information across versions 3, 4, and 5. It helps decode the evolving structures and attributes defined in the DWARF standard using compatible parsing tools.

How do I find the structure of local variables in a compiled C++ application?

You can find local variable structures in a compiled C++ application by analyzing the embedded DWARF data. Using parsing tools like `dwarfdump` extracts the debug information needed to identify variable locations and types.

What is the best way to verify DWARF data during reverse engineering?

The best way to verify DWARF data during reverse engineering is by using command-line utilities like `readelf` and `llvm-dwarfdump` to cross-check the parsed debug information against the binary's actual structure.