aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-06-25 22:31:18 +0200
committerTaras Madan <tarasmadan@google.com>2025-06-27 21:14:17 +0000
commitd74cccbbf5470420c4e35f72f3d4e0e1d9b5bcfd (patch)
tree6bf9ede2d37e35462467cd82154bce7748d37a62 /pkg
parentfb06623039ccebb3ffcddf239a7567a35658ca67 (diff)
pkg/report: add crash.KFENCE type
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/crash/types.go1
-rw-r--r--pkg/report/title_to_type.go8
2 files changed, 5 insertions, 4 deletions
diff --git a/pkg/report/crash/types.go b/pkg/report/crash/types.go
index 6de004274..52fba0fbc 100644
--- a/pkg/report/crash/types.go
+++ b/pkg/report/crash/types.go
@@ -15,6 +15,7 @@ const (
Bug = Type("BUG")
Warning = Type("WARNING")
KASAN = Type("KASAN")
+ KFENCE = Type("KFENCE")
LockdepBug = Type("LOCKDEP")
AtomicSleep = Type("ATOMIC_SLEEP")
KMSAN = Type("KMSAN")
diff --git a/pkg/report/title_to_type.go b/pkg/report/title_to_type.go
index f96b1cf4b..44f5ccaf9 100644
--- a/pkg/report/title_to_type.go
+++ b/pkg/report/title_to_type.go
@@ -16,10 +16,6 @@ var titleToType = []struct {
crashType: crash.DataRace,
},
{
- includePrefixes: []string{"KFENCE: "},
- crashType: crash.UnknownType,
- },
- {
includePrefixes: []string{
// keep-sorted start
"BUG: bad unlock balance in",
@@ -145,6 +141,10 @@ var titleToType = []struct {
crashType: crash.KASAN,
},
{
+ includePrefixes: []string{"KFENCE: "},
+ crashType: crash.KFENCE,
+ },
+ {
includePrefixes: []string{"KMSAN: "},
crashType: crash.KMSAN,
},