From 6b36d33868a01cea153c3a9cca05aef3548e4aea Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 30 Dec 2019 11:41:20 +0100 Subject: syz-manager: corpus rotation Use a random subset of syscalls/corpus/coverage for each individual VM run. Hypothesis is that this should allow fuzzer to get more coverage find more bugs in saturated state (stuck in local optimum). See the issue and comments for details. Update #1348 --- syz-manager/stats.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'syz-manager/stats.go') diff --git a/syz-manager/stats.go b/syz-manager/stats.go index 6c48a2047..4dd1a584e 100644 --- a/syz-manager/stats.go +++ b/syz-manager/stats.go @@ -16,6 +16,7 @@ type Stats struct { crashSuppressed Stat vmRestarts Stat newInputs Stat + rotatedInputs Stat execTotal Stat hubSendProgAdd Stat hubSendProgDel Stat @@ -37,7 +38,8 @@ func (stats *Stats) all() map[string]uint64 { "crash types": stats.crashTypes.get(), "suppressed": stats.crashSuppressed.get(), "vm restarts": stats.vmRestarts.get(), - "manager new inputs": stats.newInputs.get(), + "new inputs": stats.newInputs.get(), + "rotated inputs": stats.rotatedInputs.get(), "exec total": stats.execTotal.get(), "hub: send prog add": stats.hubSendProgAdd.get(), "hub: send prog del": stats.hubSendProgDel.get(), -- cgit mrf-deployment