Skip to main content

Crate ud_debug

Crate ud_debug 

Source
Expand description

Debug-info reader: turns .debug_info (DWARF) into typed function signatures the decompiler can attach to its FnDecl AST nodes.

v0 scope: x86-64 ELF, DWARF 4/5. Subprogram DIEs yield names, addresses, and parameter / return types. Type recovery covers DW_TAG_base_type (primitives) and DW_TAG_pointer_type (recursively resolved); other tags produce ud_ast::Type::Unknown.

Pluggable parsers for PDB, stabs, and Mach-O .dSYM will land in this same crate as additional modules.

Structs§

DebugFunction
One function’s DWARF-recovered signature.

Enums§

DebugError

Functions§

read_debug_info
Read every supported debug-info section from elf and return a map keyed by function start address. Empty when no debug info is present.