Smart Shrinking
TechniqueSmart Shrinking is a counterexample-reduction technique used in randomized RISC-V CPU testing. It augments ordinary QuickCheck list shrinking by transforming instruction sequences, such as propagating produced registers into later operands and applying simplification rules, so failing traces become shorter and easier to diagnose.
WIKI
Overview
Smart Shrinking is a technique for simplifying failing instruction sequences after a counterexample has been found during randomized RISC-V CPU testing. In the TestRIG context, a counterexample is found by QCVEngine, after which QuickCheck's built-in list-shrinking can remove instructions and retest the shorter sequence. Smart Shrinking extends this basic approach by not only deleting instructions, but also transforming instructions to simplify the trace while preserving the failing behavior.
How it works
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →