One-click install
npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill security-dwarf-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-dwarf-expert
Source: https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents/tree/main/packages/skills/skills/security-dwarf-expert
Command: npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill security-dwarf-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security researchers and reverse engineers often struggle to extract meaningful high-level information from compiled binaries without debugging data. This skill provides a structured approach to analyze DWARF debug information embedded in ELF binaries to recover type information, struct layouts, and function signatures for security research.

Core Features & Use Cases

  • DWARF parsing: Identify and interpret DW_TAG_compile_unit, DW_TAG_structure_type, DW_TAG_member, and related entries to reconstruct type definitions and layouts.
  • Binary-to-source mapping: Map addresses back to possible source locations and recover symbol information for vulnerability analysis.
  • Reverse engineering support: Facilitate recovering struct definitions and function interfaces from stripped binaries when debugging data is available.

Quick Start

Provide an ELF binary with debug information and ask the tool to dump DWARF data to recover types and struct definitions.

Frequently Asked Questions about security-dwarf-expert

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

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

To extract DWARF debug information from an ELF binary, provide the file to the tool and request a data dump. It parses DWARF sections, identifies compile units and tags, and outputs recovered types, structures, and symbol information in a structured format.

Can I recover struct definitions and type information from a stripped binary?

You can recover struct definitions and type information from a stripped binary if its original DWARF debugging data is still embedded. The tool interprets DW_TAG_structure_type and DW_TAG_member entries to reconstruct type layouts for vulnerability analysis.

Does this tool work with ELF binaries for reverse engineering vulnerability research?

Yes, the tool works with ELF binaries for reverse engineering vulnerability research. It maps addresses back to possible source locations and recovers function signatures by parsing embedded DWARF debugging data.

What is the best way to map binary addresses back to source locations using DWARF data?

The best way to map binary addresses to source locations is by parsing DWARF compile units and tags. This process recovers symbol information and reconstructs function interfaces from the embedded debug data.

What limitations exist when parsing DWARF data from binaries without debug info?

Parsing DWARF data from binaries requires embedded debug information to function. If the ELF binary is fully stripped of DWARF sections, the tool cannot recover type definitions, struct layouts, or symbol information.