aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/hub.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-06-15 14:31:29 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-05 11:29:44 +0000
commitc8a08b381ddaa35d4e58e91b7d7d215c9fc66b87 (patch)
treea94782d4748cbc215b553910e22182ebf9cf75aa /syz-manager/hub.go
parentd9b02a53a6f8a9f6af36ffdf2ac399e3376de807 (diff)
pkg/report: move report.Type to pkg/report/crash
This will help avoid a circular dependency pkg/vcs -> pkg/report -> pkg/vcs.
Diffstat (limited to 'syz-manager/hub.go')
-rw-r--r--syz-manager/hub.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/syz-manager/hub.go b/syz-manager/hub.go
index 8b4334503..3b04719bc 100644
--- a/syz-manager/hub.go
+++ b/syz-manager/hub.go
@@ -14,6 +14,7 @@ import (
"github.com/google/syzkaller/pkg/log"
"github.com/google/syzkaller/pkg/mgrconfig"
"github.com/google/syzkaller/pkg/report"
+ "github.com/google/syzkaller/pkg/report/crash"
"github.com/google/syzkaller/pkg/rpctype"
"github.com/google/syzkaller/prog"
)
@@ -277,9 +278,9 @@ func (hc *HubConnector) processRepros(repros [][]byte) int {
// On a leak instance we override repro type to leak,
// because otherwise repro package won't even enable leak detection
// and we won't reproduce leaks from other instances.
- typ := report.UnknownType
+ typ := crash.UnknownType
if hc.leak {
- typ = report.MemoryLeak
+ typ = crash.MemoryLeak
}
hc.hubReproQueue <- &Crash{
vmIndex: -1,