aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-28 14:07:19 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-28 14:07:19 +0100
commit76357d6f894431c00cc09cfc9e7474701a4b822a (patch)
tree53f1ea5cf2b070e4086c5e8082f37cc1e587007b /pkg/report/linux.go
parent46869e3ee2274fbf353cb2c7d6cf36ed19e52b45 (diff)
pkg/report: update UBSAN report parsing
Update #1523
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index dae7adbd9..73a0b5b1a 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -1534,8 +1534,16 @@ var linuxOopses = append([]*oops{
[]byte("UBSAN:"),
[]oopsFormat{
{
- title: compile("UBSAN: (.*)"),
- fmt: "UBSAN: %[1]v",
+ title: compile("UBSAN:"),
+ report: compile("UBSAN: Undefined behaviour in"),
+ fmt: "UBSAN: undefined-behaviour in %[1]v",
+ stack: &stackFmt{
+ parts: []*regexp.Regexp{
+ compile("Call Trace:"),
+ parseStackTrace,
+ },
+ skip: []string{"ubsan", "overflow"},
+ },
},
},
[]*regexp.Regexp{},