From d74cccbbf5470420c4e35f72f3d4e0e1d9b5bcfd Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Wed, 25 Jun 2025 22:31:18 +0200 Subject: pkg/report: add crash.KFENCE type --- pkg/report/crash/types.go | 1 + pkg/report/title_to_type.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'pkg') 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 @@ -15,10 +15,6 @@ var titleToType = []struct { includePrefixes: []string{"KCSAN: data-race"}, crashType: crash.DataRace, }, - { - includePrefixes: []string{"KFENCE: "}, - crashType: crash.UnknownType, - }, { includePrefixes: []string{ // keep-sorted start @@ -144,6 +140,10 @@ var titleToType = []struct { includePrefixes: []string{"KASAN: "}, crashType: crash.KASAN, }, + { + includePrefixes: []string{"KFENCE: "}, + crashType: crash.KFENCE, + }, { includePrefixes: []string{"KMSAN: "}, crashType: crash.KMSAN, -- cgit mrf-deployment