aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/bug.html
blob: 1836a2bc00fff76b36e41f5085bbd6bc37628263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{{/*
Copyright 2017 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.

Page with details about a single bug.
*/}}

<!doctype html>
<html>
<head>
	<title>Syzkaller Dashboard</title>
	<link rel="stylesheet" href="/static/style.css"/>
</head>
<body>
	{{template "header" .Header}}

	<b>[{{.Bug.Namespace}}] {{.Bug.Title}}</b><br>
	Status: {{if .Bug.ExternalLink}}<a href="{{.Bug.ExternalLink}}">{{.Bug.Status}}</a>{{else}}{{.Bug.Status}}{{end}}<br>
	{{if .Bug.Commits}}
		Commits: {{.Bug.Commits}}<br>
		Patched on: {{.Bug.PatchedOn}}, missing on: {{.Bug.MissingOn}}<br>
	{{end}}
	First: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}<br>
	<br>

	{{template "bug_list" .DupOf}}
	{{template "bug_list" .Dups}}
	{{template "bug_list" .Similar}}

	<table class="list_table">
		<caption>Crashes ({{.Bug.NumCrashes}}):</caption>
		<tr>
			<th>Manager</th>
			<th>Time</th>
			<th>Kernel</th>
			<th>Commit</th>
			<th>Syzkaller</th>
			<th>Config</th>
			<th>Log</th>
			<th>Report</th>
			<th>Syz repro</th>
			<th>C repro</th>
			<th>Maintainers</th>
		</tr>
		{{range $c := $.Crashes}}
			<tr>
				<td class="manager">{{$c.Manager}}</td>
				<td class="time">{{formatTime $c.Time}}</td>
				<td class="kernel" title="{{$c.KernelRepo}}/{{$c.KernelBranch}}">{{$c.KernelRepo}}/{{$c.KernelBranch}}</td>
				<td class="tag">{{$c.KernelCommit}}</td>
				<td class="tag">{{$c.SyzkallerCommit}}</td>
				<td class="config"><a href="{{$c.KernelConfigLink}}">.config</a></td>
				<td class="repro">{{if $c.LogLink}}<a href="{{$c.LogLink}}">log</a>{{end}}</td>
				<td class="repro">{{if $c.ReportLink}}<a href="{{$c.ReportLink}}">report</a>{{end}}</td>
				<td class="repro">{{if $c.ReproSyzLink}}<a href="{{$c.ReproSyzLink}}">syz</a>{{end}}</td>
				<td class="repro">{{if $c.ReproCLink}}<a href="{{$c.ReproCLink}}">C</a>{{end}}</td>
				<td class="maintainers" title="{{$c.Maintainers}}">{{$c.Maintainers}}</td>
			</tr>
		{{end}}
	</table>
</body>
</html>