From 0cdd618504c154c4bb8758ef5a34bbe1bf9f62e4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Jan 2021 17:32:57 +0100 Subject: pkg/report: parse KASAN_HW_TAGS reports --- pkg/report/linux.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 12ccd483f..3a754b08c 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -949,7 +949,7 @@ var linuxOopses = append([]*oops{ []oopsFormat{ { title: compile("BUG: KASAN:"), - report: compile("BUG: KASAN: ([a-z\\-]+) in {{FUNC}}(?:.*\\n)+?.*(Read|Write) of size (?:[0-9]+)"), + report: compile("BUG: KASAN: ([a-z\\-]+) in {{FUNC}}(?:.*\\n)+?.*(Read|Write) (?:of size|at addr) (?:[0-9a-f]+)"), fmt: "KASAN: %[1]v %[3]v in %[4]v", stack: &stackFmt{ @@ -958,6 +958,8 @@ var linuxOopses = append([]*oops{ linuxCallTrace, parseStackTrace, }, + // These frames are present in KASAN_HW_TAGS reports. + skip: []string{"kernel_fault", "tag_check", "mem_abort", "el1_abort", "el1_sync"}, }, }, { -- cgit mrf-deployment