blob: 697cd94ca0522da4502d7a2af26a3686e92e652c (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
{{/*
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>
{{template "head" .Header}}
<title>{{.Bug.Title}}</title>
</head>
<body>
{{template "header" .Header}}
<b>{{.Bug.Title}}</b><br><br>
Status: {{if .Bug.ExternalLink}}<a href="{{.Bug.ExternalLink}}">{{.Bug.Status}}</a>{{else}}{{.Bug.Status}}{{end}}<br>
{{if .LabelGroups}}
{{range $group := .LabelGroups}}
{{$group.Name}}: {{range $group.Labels}}
<span class="bug-label">{{link .Link .Name}}</span>
{{- end}}
<br>
{{end}}
<a href="https://github.com/google/syzkaller/blob/master/docs/syzbot.md#labels">[Documentation on labels]</a><br>
{{- end}}
{{if .DebugSubsystems}}
{{link .DebugSubsystems "[Debug subsystem assignment]"}}<br>
{{- end}}
{{if .Bug.CreditEmail}}
Reported-by: {{.Bug.CreditEmail}}<br>
{{- end}}
{{if .Bug.Commits}}
<b>Fix commit:</b> {{template "fix_commits" .Bug.Commits}}<br>
{{if .Bug.ClosedTime.IsZero}}
<b>Patched on:</b> {{.Bug.PatchedOn}}, missing on: {{.Bug.MissingOn}}<br>
{{end}}
{{end}}
First crash: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}<br>
{{if .AIWorkflows}}
<form method="POST">
<select name="ai-job-create">
{{range $flow := .AIWorkflows}}
<option>{{$flow}}</option>
{{end}}
</select>
<input type="submit" value="✨ Create"/>
</form>
{{end}}
{{if .AIJobs}}
<div class="collapsible collapsible-show">
<div class="head">
<span class="show-icon">▶</span>
<span class="hide-icon">▼</span>
<span>✨ AI Jobs ({{len .AIJobs}})</span>
</div>
<div class="content">
{{template "ai_job_list" .AIJobs}}
</div>
</div>
{{end}}
{{if .Bug.FixCandidateJob}}
<div class="fix-candidate-block">{{template "bisect_results" .Bug.FixCandidateJob}}</div>
{{end}}
<div>
{{if .Bug.BisectCauseJob}}<div class="bug-bisection-info">{{template "bisect_results" .Bug.BisectCauseJob}}</div>{{end}}
{{if .Bug.BisectFixJob}}<div class="bug-bisection-info">{{template "bisect_results" .Bug.BisectFixJob}}</div>{{end}}
<div class="bug-bisection-stop"></div>
</div>
{{range $item := .Sections}}
<div class="collapsible {{if $item.Show}}collapsible-show{{else}}collapsible-hide{{end}}">
<div class="head">
<span class="show-icon">▶</span>
<span class="hide-icon">▼</span>
<span>{{$item.Title}}</span>
</div>
<div class="content">
{{if eq $item.Type "bug_list"}}{{template "bug_list" $item.Value}}{{end}}
{{if eq $item.Type "job_list"}}{{template "job_list" $item.Value}}{{end}}
{{if eq $item.Type "discussion_list"}}{{template "discussion_list" $item.Value}}{{end}}
{{if eq $item.Type "test_results"}}{{template "test_results" $item.Value}}{{end}}
{{if eq $item.Type "repro_attempts"}}{{template "repro_attempts" $item.Value}}{{end}}
</div>
</div>
{{end}}
{{if .Bug.SampleReport}}
<br><b>Sample crash report:</b><br>
<div id="crash_div"><pre>{{.Bug.SampleReport}}</pre></div><br>
{{end}}
{{template "crash_list" .Crashes}}
</body>
</html>
|