mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 04:34:13 +00:00
Add bounded offline DWARF compilation-unit inspection with source provenance, explicit coverage, caller-selected controls and shared ELF compression framing. Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning) Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
858 B
858 B
Tasks
- Define single-feature scope, contracts and implementation plan (
spec.md,plan.md). - Define the DWARF unit report schema, limits and coverage states in
src/domain/native/dwarfUnits.ts. - Locate and decompress ELF, Mach-O and PE debug sections, including the Mach-O
on_diskfile-range fact. - Decode abbreviations, framed units and unit DIEs with bounded
strx,DW_FORM_indirectand relocation handling. - Register the MCP tool and CLI command; add provider, boundary, MCP and CLI acceptance tests.
- Compare compiled fixtures with
llvm-dwarfdumpinscripts/verify-dwarf-units.mjsand record the run. - Add the DWARF compile units guide, CLI and README entries and skill guidance.
- Compare a GCC-produced object, a linked Mach-O image and a
.dSYMDWARF file; the recorded run covered none of them.