aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'syz-manager/hub.go')
-rw-r--r--syz-manager/hub.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/syz-manager/hub.go b/syz-manager/hub.go
index c431ce034..6acedf37e 100644
--- a/syz-manager/hub.go
+++ b/syz-manager/hub.go
@@ -102,6 +102,12 @@ func (hc *HubConnector) loop() {
var doneOnce bool
for query := 0; ; time.Sleep(10 * time.Minute) {
corpus, repros := hc.mgr.getMinimizedCorpus()
+ if !hc.cfg.Cover {
+ // If we are using fake coverage, don't send our corpus to the hub.
+ // It should be lower quality than coverage-guided corpus.
+ // However still send repros and accept new inputs.
+ corpus = nil
+ }
hc.newRepros = append(hc.newRepros, repros...)
if hub == nil {
var err error