You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P1: Acceptance-test infrastructure (before any new format code) #5
Ordering is load-bearing: this ships before P3. The differential oracle must be proven against a known-good linker while the ELF backend is still just wild's. A harness first exercised on unproven code cannot distinguish "the linker is wrong" from "the harness is wrong."
P1-T1 port wild's harness; freeze the directive set at 18 (wild has ~90, two deprecated) and reject unknown directives
P1-T2 format-neutral .layout sidecar
P1-T3 reld-diff — the crown jewel. Uses each input object's relocation list as ground truth, finds where each linker placed that section, reverses the relocation arithmetic, compares recovered symbol-level targets. Build headers-first (~700 LOC, catches a lot); disassembler second
P1-T4 execution oracle requiring exit code 42 (so a spurious 0 fails); handle ETXTBSY and Windows sharing violations
P1-T5 mutation testing of the oracle — RELD_MALFUNCTION injects a deliberate bug and the suite requires the differ catches it. Without this, "found nothing" and "is broken" look identical
P1-T6 mold's 518 shell tests via fake-linker dir, with a skip-list ratchet that fails CI when a skipped test starts passing
P1-T7 wire reld-testkit's existing seeded generator to differential execution
P1-T8 four-runner CI matrix
Ignore-list policy: every entry needs a tracking issue ID, and CI fails when an ignore is no longer needed. wild has ~60 permanently-disabled assertions, several admitting the divergence isn't understood.
Done when: all four platforms green, oracle validated against ld.bfd, malfunction tests proving it catches deliberate bugs.
Activity