Expand description
Delta-debugging minimizer: shrink a failing program to a minimal reproducer.
Generic over a fails predicate (typically “the Spike oracle, interpreter,
and recompiler don’t all agree”), so this module stays portable — the engine
plumbing lives in the caller (live.rs).
Functions§
- shrink
- Minimize
progwhilefailskeeps returningtrue. The trailing signature epilogue (lengthsig_len) is treated as fixed and regenerated each trial; the body (everything before it) is shrunk by greedily removing instructions, then unneeded seed registers are dropped.failsre-runs the comparison and returnstrueiff the divergence still reproduces.