aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-09-03 16:17:08 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-10-01 20:14:51 +0000
commit9a988f5c94cd83b07d5b39f6c1225333c0715d8d (patch)
tree5792309cfc2f9b1df901917592be5d37ca49c6d6 /syz-cluster/workflow
parent2700216d48b093199eec2e4451acdd3b0927d91f (diff)
syz-cluster: support multiple fuzz tasks
Adjut the workflow template and the API to run multiple fuzzing campaigns as a part of single patch series processing.
Diffstat (limited to 'syz-cluster/workflow')
-rw-r--r--syz-cluster/workflow/triage-step/main.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/syz-cluster/workflow/triage-step/main.go b/syz-cluster/workflow/triage-step/main.go
index c0cfda3b4..cecc3ada8 100644
--- a/syz-cluster/workflow/triage-step/main.go
+++ b/syz-cluster/workflow/triage-step/main.go
@@ -117,14 +117,15 @@ func getVerdict(ctx context.Context, tracer debugtracer.DebugTracer, client *api
CommitHash: result.Commit,
Arch: arch,
}
+ fuzz := &api.FuzzTask{
+ Base: base,
+ Patched: base,
+ FuzzConfig: fuzzConfig.FuzzConfig,
+ }
+ fuzz.Patched.SeriesID = series.ID
triageResult = &api.TriageResult{
- Fuzz: &api.FuzzTask{
- Base: base,
- Patched: base,
- FuzzConfig: fuzzConfig.FuzzConfig,
- },
+ Fuzz: []*api.FuzzTask{fuzz},
}
- triageResult.Fuzz.Patched.SeriesID = series.ID
break
}
return triageResult, nil