diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-11-25 11:45:46 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-11-25 15:30:12 +0100 |
| commit | f4470a7b5efeb021c66c8fb38656bcb2b1597974 (patch) | |
| tree | e0031784ea92d47cec479b37b00406f961cc21e8 /tools/syz-testbed/stats.go | |
| parent | ebe1031cf24417328140944e70cb4d9b25da09b0 (diff) | |
tools/syz-testbed: consider the resulting bug titles
It's more correct to evaluate whether we managed to reproduce the
original bug rather than just any bug.
Retrieve the title information from syz-repro and pretent that the
reproduction failed if the title does not match.
Diffstat (limited to 'tools/syz-testbed/stats.go')
| -rw-r--r-- | tools/syz-testbed/stats.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/syz-testbed/stats.go b/tools/syz-testbed/stats.go index 750507945..9af33f4e7 100644 --- a/tools/syz-testbed/stats.go +++ b/tools/syz-testbed/stats.go @@ -33,6 +33,7 @@ type SyzReproResult struct { Input *SyzReproInput ReproFound bool CReproFound bool + ReproTitle string Duration time.Duration } @@ -393,7 +394,7 @@ func (view StatView) GenerateReproDurationTable() (*Table, error) { // List all repro attempts. func (view StatView) GenerateReproAttemptsTable() (*Table, error) { - table := NewTable("Result #", "Bug", "Checkout", "Repro found", "C repro found", "Duration") + table := NewTable("Result #", "Bug", "Checkout", "Repro found", "C repro found", "Repro title", "Duration") for gid, group := range view.Groups { for rid, result := range group.SyzReproResults() { table.AddRow( @@ -402,6 +403,7 @@ func (view StatView) GenerateReproAttemptsTable() (*Table, error) { group.Name, NewBoolCell(result.ReproFound), NewBoolCell(result.CReproFound), + result.ReproTitle, result.Duration.Round(time.Second).String(), ) } |
