Docs / Guides

Reading the results

Reading the results

fuzz prints one block per property:

Status Meaning What to do
PASS No input failed. The next line says what the campaign exercised: how many argument draws were edge values, how many inputs were correlated, and which argument bounds were reached Nothing. If a bound was never reached, consider an input range
FAIL The property returned false. Shows the shrunk input, the original input and the shrink effort Fix the code, or the property if the property is wrong
ABORT The property panicked or reverted (overflow, division by zero, an assert!). The input was recovered by searching on the run count, then shrunk by replay Same as FAIL. The panic reason is shown, such as arithmetic overflow or underflow (Panic 0x11)
INFRA Something outside your property went wrong: a compile error, out of gas, a timeout, a missing backend, unreadable output See Troubleshooting. This is never a finding
text
ABORT prop_share_price_defined(u64, u64)  division or modulo by zero (Panic 0x12)  at input 13
      total_assets = 0
      total_supply = 0
      input recovered by k-ary search on the run count (Fe cannot catch an abort, so the payload carried none)
      shrunk by replay from 3770623262857372628, 0 in 1 fe runs (7 replays); 6 fe runs in total

A shrink that ran out of budget says (budget reached, may not be minimal). The input shown still fails; it may just not be the smallest.

Exit codes: 0 all passed, 1 at least one FAIL, ABORT or DIVERGE, 2 at least one INFRA.

Seeds and reproducibility

Every run has a base seed. Without --seed, Fuzzloom picks one at random and prints it (repeat with --seed 123). Each property draws from its own stream, derived from the base seed and the property's name. The same seed, runs and code therefore give the same inputs on every machine and on both backends. Renaming a property changes its stream; adding another property does not.

To dig into one failure, reproduce replays the saved input directly, without generating anything:

bash
npx fuzzloom reproduce prop_fee_matches_exact_math-0e05b819

Edit this page on GitHub