code wiki / (root) / nx_probe_dwhdr.nx

nx_probe_dwhdr.nx

buildroot/runtime/nx_probe_dwhdr.nx

1625 B48 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind probetopic probe
docsdependenciesstructsconstsfunctions

about

nx_probe_dwhdr.nx -- KAT: does our DWARF v5 header emitter produce the EXTERNALLY VALIDATED bytes? The reference is NOT our own decoder. It is 119 bytes that GNU readelf 2.42 parsed correctly, including per-row file attribution (runtime/alpha.nx line 5 @0x00, runtime/beta.nx line 9 @0x14). Fixture + field decode: knowledge/dwarf_debugline_fixture_2026_08_07.md Comparing against our own reader would only prove two organs by one author agree (debt 1786111455). Prints the emitted bytes as hex on stdout for byte-for-byte diff against the fixture. expect_exit: 0

dependencies 1 imports · 0 importers

nx_dwarf_line.nx nx_probe_dwhdr.nx

imports: nx_dwarf_line.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_dwline_new nx_dwline_header nx_dwline_u32 nx_dwline_byte nx_dwline_u16 nx_dwline_byte ↻ nx_dwline_byte ↻ nx_dwline_uleb nx_dwline_byte ↻ nx_dwline_strn nx_dwline_byte ↻ nx_dwline_patch_u32 nx_dwline_set_address nx_dwline_byte ↻ nx_dwline_record nx_dwline_set_file nx_dwline_byte ↻ nx_dwline_uleb ↻ nx_dwline_set_address ↻ nx_dwline_advance_pc nx_dwline_byte ↻ nx_dwline_uleb ↻ nx_dwline_advance_line nx_dwline_byte ↻ nx_dwline_sleb nx_dwline_byte ↻ nx_dwline_copy nx_dwline_byte ↻ nx_dwline_end_sequence nx_dwline_byte ↻ nx_dwline_finish nx_dwline_patch_u32 ↻ nx_dwline_size nx_dwline_bytes dwh_hex

structs

none

consts

none

functions

12func dwh_hex(v: i64) -> i64
called by 1: main
23func main() -> i64