Expand description
ยงRunning
Running this fuzzer can be done with cargo hfuzz run per_thing_mult_fraction
. honggfuzz
CLI
options can be used by setting HFUZZ_RUN_ARGS
, such as -n 4
to use 4 threads.
ยงDebugging a panic
Once a panic is found, it can be debugged with
cargo hfuzz run-debug per_thing_mult_fraction hfuzz_workspace/per_thing_mult_fraction/*.fuzz
.
Functionsยง
- check_
mul ๐ - Checks that
(n / d) * d <= n
. - check_
reciprocal_ ๐mul - Checks that
n / (n / d) >= d
. - main ๐
- Tries to disprove
(n / d) * d <= n
for anyPerThing
s.