diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-07-16 18:12:12 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-07-17 09:50:01 +0000 |
| commit | 3e908871f2a4ad7e80057fb82b2fc7cb34f74dcb (patch) | |
| tree | 14e80403db7ce53772863cc6f7517e483e18d6ec /syz-manager/hub.go | |
| parent | 3bdf1c5586d449bb17aa0373b45b5b3bbeedda46 (diff) | |
syz-manager: tidy ReproResult
There have been some mess and duplication around Crash/ReproResult data
structures. As a result, we've been attempting to upload repro failure
logs to the dashboard for bugs, which did not originate from the
dashboard. It litters the syz-manager logs.
Refactor the code.
Diffstat (limited to 'syz-manager/hub.go')
| -rw-r--r-- | syz-manager/hub.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/syz-manager/hub.go b/syz-manager/hub.go index ba3a14ad3..34d061a83 100644 --- a/syz-manager/hub.go +++ b/syz-manager/hub.go @@ -7,7 +7,6 @@ import ( "fmt" "net/http" "strings" - "sync/atomic" "time" "github.com/google/syzkaller/pkg/auth" @@ -79,7 +78,6 @@ type HubConnector struct { hubReproQueue chan *Crash needMoreRepros func() bool keyGet keyGetter - reproSeq atomic.Int64 statSendProgAdd *stats.Val statSendProgDel *stats.Val @@ -309,7 +307,6 @@ func (hc *HubConnector) processRepros(repros [][]byte) int { hc.hubReproQueue <- &Crash{ fromHub: true, Report: &report.Report{ - Title: fmt.Sprintf("external repro #%d", hc.reproSeq.Add(1)), Type: typ, Output: repro, }, |
