aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/html/syscalls.html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-11-08 12:22:28 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-11-08 14:15:20 +0000
commit0571368b3bc37f92b06873e02342317006b0da60 (patch)
tree35637840d7e9098ee8ea54784d6c03b58e1be8cc /pkg/manager/html/syscalls.html
parent44b1e39faee03d3a5f496f66157a41f939e74286 (diff)
pkg/manager: move HTML code to separate files
Diffstat (limited to 'pkg/manager/html/syscalls.html')
-rw-r--r--pkg/manager/html/syscalls.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/manager/html/syscalls.html b/pkg/manager/html/syscalls.html
new file mode 100644
index 000000000..cb6991f42
--- /dev/null
+++ b/pkg/manager/html/syscalls.html
@@ -0,0 +1,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>Per-syscall coverage:</caption>
+ <tr>
+ <th><a onclick="return sortTable(this, 'Syscall', textSort)" href="#">Syscall</a></th>
+ <th><a onclick="return sortTable(this, 'Inputs', numSort)" href="#">Inputs</a></th>
+ <th><a onclick="return sortTable(this, 'Coverage', numSort)" href="#">Coverage</a></th>
+ <th>Prio</th>
+ </tr>
+ {{range $c := $.Calls}}
+ <tr>
+ <td>{{$c.Name}}{{if $c.ID }} [{{$c.ID}}]{{end}}</td>
+ <td><a href='/corpus?call={{$c.Name}}'>{{$c.Inputs}}</a></td>
+ <td><a href='/cover?call={{$c.Name}}'>{{$c.Cover}}</a></td>
+ <td><a href='/prio?call={{$c.Name}}'>prio</a></td>
+ </tr>
+ {{end}}
+</table>