aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-reporter
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-10-03 17:43:17 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-10-11 11:58:06 +0000
commitd041766f6c33a373e0064b832cc4e7a4401b3659 (patch)
treeba008da309760c5e88859ada245225d01769c15c /tools/syz-reporter
parent5e7b4bcaa61e8bb9b1d1fbca21684fe490f69133 (diff)
pkg/manager: factor out the crash storage functionality
It reduces the size of the syz-manager/ code and makes it testable. Use it in syz-testbed.
Diffstat (limited to 'tools/syz-reporter')
-rw-r--r--tools/syz-reporter/reporter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-reporter/reporter.go b/tools/syz-reporter/reporter.go
index 6fa4adc47..53ccce4c3 100644
--- a/tools/syz-reporter/reporter.go
+++ b/tools/syz-reporter/reporter.go
@@ -129,6 +129,7 @@ func collectCrashes(workdir string) ([]*UICrashType, error) {
return crashTypes, nil
}
+// TODO: reuse manager.CrashStore.
func readCrash(workdir, dir string) *UICrashType {
if len(dir) != 40 {
return nil