github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/stats/syzbotstats/bug.go (about) 1 // Copyright 2023 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 package syzbotstats 5 6 import "time" 7 8 type BugStatSummary struct { 9 Title string 10 IDs []string // IDs used by syzbot for this bug. 11 FirstTime time.Time // When the bug was first hit. 12 ReleasedTime time.Time // When the bug was published. 13 ReproTime time.Time // When we found the reproducer. 14 CauseBisectTime time.Time // When we found cause bisection. 15 ResolvedTime time.Time // When the bug was resolved. 16 Status BugStatus 17 Subsystems []string 18 Strace bool // Whether we managed to reproduce under strace. 19 HitsPerDay float64 // Average number of bug hits per day. 20 FixHashes []string // Hashes of fix commits. 21 HappenedOn []string // Managers on which the crash happened. 22 } 23 24 type BugStatus string 25 26 const ( 27 BugFixed BugStatus = "fixed" 28 BugInvalidated BugStatus = "invalidated" 29 BugAutoInvalidated BugStatus = "auto-invalidated" 30 BugDup BugStatus = "dup" 31 BugPending BugStatus = "pending" 32 )