diff options
| -rw-r--r-- | pkg/report/crash/types.go | 1 | ||||
| -rw-r--r-- | pkg/report/title_to_type.go | 8 |
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, }, |
