aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow/fuzz-step
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-02-13 11:57:14 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-14 13:40:12 +0000
commitf20e88b2468bdcdb631b14e384f1f9a67e984013 (patch)
treed2758c08ab9deea9354a91237a3d9234de0efce3 /syz-cluster/workflow/fuzz-step
parenteaf86f3f4dc8a7190abf09fe840e20bcf83709d8 (diff)
syz-cluster: report session results
Provide an API to set up the reporting of finished sessions for which syz-cluster collected reportable findings. The actual sending of the results is to be done in a separate component that would: 1) Call Next() to get the next report to send. 2) Call Confirm() to confirm that the report has been sent. 3) Call Upstream() if the report has been moderated and needs to be sent to e.g. public mailing lists.
Diffstat (limited to 'syz-cluster/workflow/fuzz-step')
-rw-r--r--syz-cluster/workflow/fuzz-step/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/workflow/fuzz-step/main.go b/syz-cluster/workflow/fuzz-step/main.go
index 65e762b9b..6acddc55c 100644
--- a/syz-cluster/workflow/fuzz-step/main.go
+++ b/syz-cluster/workflow/fuzz-step/main.go
@@ -182,7 +182,7 @@ func reportStatus(ctx context.Context, client *api.Client, status string) error
}
func reportFinding(ctx context.Context, client *api.Client, bug *manager.UniqueBug) error {
- finding := &api.Finding{
+ finding := &api.NewFinding{
SessionID: *flagSession,
TestName: testName,
Title: bug.Report.Title,