aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-07-03 11:38:09 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-07-03 13:26:52 +0000
commit663d86a211916b159bfe732e4cf9923c918b9004 (patch)
tree56a1128e9d5cf7cee1438a9348f98ef510483406 /pkg/mgrconfig
parent780d1bc51844c9df9c4d09e57bdfdd3d1ff8ad28 (diff)
syz-manager: allow manager to only consult dashboard if it needs reproducers
This mode allows to run local manager that only "helps" main instances by uncovering more coverage and extracting useful reproducers. Otherwise it spends too much time reproducing all bugs that already have reproducers.
Diffstat (limited to 'pkg/mgrconfig')
-rw-r--r--pkg/mgrconfig/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go
index 5b383249a..2a7153c7a 100644
--- a/pkg/mgrconfig/config.go
+++ b/pkg/mgrconfig/config.go
@@ -99,6 +99,9 @@ type Config struct {
DashboardClient string `json:"dashboard_client,omitempty"`
DashboardAddr string `json:"dashboard_addr,omitempty"`
DashboardKey string `json:"dashboard_key,omitempty"`
+ // If set, only consult dashboard if it needs reproducers for crashes,
+ // but otherwise don't send any info to dashboard (default: false).
+ DashboardOnlyRepro bool `json:"dashboard_only_repro,omitempty"`
// Location of the syzkaller checkout, syz-manager will look
// for binaries in bin subdir (does not have to be syzkaller checkout as