From 287d6acfa17f708fb2d6aecfa4de231a41a1dd12 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 2 Sep 2024 11:53:30 +0200 Subject: pkg/fuzzer: display hints job info This will let us gain even more insight into what the fuzzer is doing. --- syz-manager/http.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'syz-manager') diff --git a/syz-manager/http.go b/syz-manager/http.go index 4e4b92d00..7c01b9ca5 100644 --- a/syz-manager/http.go +++ b/syz-manager/http.go @@ -668,12 +668,13 @@ func (mgr *Manager) httpJobs(w http.ResponseWriter, r *http.Request) { return } jobType := r.FormValue("type") - data := UIJobList{} + data := UIJobList{ + Title: fmt.Sprintf("%s jobs", jobType), + } switch jobType { case "triage": - data.Title = "triage jobs" case "smash": - data.Title = "smash jobs" + case "hints": default: http.Error(w, "unknown job type", http.StatusBadRequest) return -- cgit mrf-deployment