aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-12-11 15:23:19 +0100
committerAndrey Konovalov <andreyknvl@gmail.com>2017-12-11 16:01:10 +0100
commitc0020ec1977c811f8e7c888a5662cc2c7abd627d (patch)
tree371ed443e214edfa8a2c5fe517bde6fe44f56679 /pkg/report/linux.go
parent02b8de13ac3b47734b3ee784867aa753865e5397 (diff)
pkg/report: detect corrupted old-style KASAN reports
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index b862bf54e..a37104c2d 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -722,6 +722,18 @@ var linuxOopses = []*oops{
title: compile("INFO: task .* blocked for more than [0-9]+ seconds"),
fmt: "INFO: task hung",
},
+ {
+ // This gets captured for corrupted old-style KASAN reports.
+ title: compile("INFO: Freed in (.*)"),
+ fmt: "INFO: Freed in %[1]v",
+ corrupted: true,
+ },
+ {
+ // This gets captured for corrupted old-style KASAN reports.
+ title: compile("INFO: Allocated in (.*)"),
+ fmt: "INFO: Allocated in %[1]v",
+ corrupted: true,
+ },
},
[]*regexp.Regexp{
compile("INFO: lockdep is turned off"),