aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/hub.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-02-01 23:53:07 +0100
committerAleksandr Nogikh <nogikh@google.com>2024-02-02 09:48:55 +0000
commit60bf9982e3c5f47dee643bd88d86c7f0b631e32d (patch)
tree35b20c7f3a0c22e130eafcb7403575469d553a65 /syz-manager/hub.go
parentd61103fc7c348a4ab85310b9a08c1f05f47a8655 (diff)
syz-manager: treat progs from hub and dashboard differently
From dashboard we receive logs, from syz-hub - ready reproducers. If we failed to find a repro from the log, report a failure back to the dashboard. If we succeeded, prepend the options.
Diffstat (limited to 'syz-manager/hub.go')
-rw-r--r--syz-manager/hub.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-manager/hub.go b/syz-manager/hub.go
index 9825c4857..9598a41d4 100644
--- a/syz-manager/hub.go
+++ b/syz-manager/hub.go
@@ -283,8 +283,8 @@ func (hc *HubConnector) processRepros(repros [][]byte) int {
typ = crash.MemoryLeak
}
hc.hubReproQueue <- &Crash{
- vmIndex: -1,
- external: true,
+ vmIndex: -1,
+ fromHub: true,
Report: &report.Report{
Title: "external repro",
Type: typ,