aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-11-19 14:47:30 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-11-19 15:23:46 +0000
commit073d8186258664a3091d63bea349e20c641e7bf4 (patch)
tree2330220465196a15ae65efa8b1061f7ed24d83c4 /pkg/manager/html
parent571351cb80e526bf973c8f11c46fa7f3bbc2da1e (diff)
pkg/manager: restore corpus page
It was lost during the refactoring.
Diffstat (limited to 'pkg/manager/html')
-rw-r--r--pkg/manager/html/corpus.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkg/manager/html/corpus.html b/pkg/manager/html/corpus.html
index 2c3a9272c..f96b5aeac 100644
--- a/pkg/manager/html/corpus.html
+++ b/pkg/manager/html/corpus.html
@@ -2,3 +2,22 @@
Copyright 2024 syzkaller project authors. All rights reserved.
Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
*/}}
+
+<table class="list_table">
+ <caption>Corpus{{if $.Call}} for {{$.Call}}{{end}}:</caption>
+ <tr>
+ <th>Coverage</th>
+ <th>Program</th>
+ </tr>
+ {{range $inp := $.Inputs}}
+ <tr>
+ <td>
+ <a href='/cover?input={{$inp.Sig}}'>{{$inp.Cover}}</a>
+ {{if $.RawCover}}
+ / <a href="/debuginput?sig={{$inp.Sig}}">[raw]</a>
+ {{end}}
+ </td>
+ <td><a href="/input?sig={{$inp.Sig}}">{{$inp.Short}}</a></td>
+ </tr>
+ {{end}}
+</table>