From 2c36e7a75f8689b3da20e1a81a2ee5391f3af6e5 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Sat, 22 Feb 2020 10:06:14 +0100 Subject: pkg/report: Improve parsing of the UBSan reports --- pkg/report/netbsd.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg') diff --git a/pkg/report/netbsd.go b/pkg/report/netbsd.go index 69287ed58..50fcac4fc 100644 --- a/pkg/report/netbsd.go +++ b/pkg/report/netbsd.go @@ -180,6 +180,11 @@ var netbsdOopses = append([]*oops{ report: compile(`MSan: Uninitialized (?:.*\n)+(?:kmsan|__msan).*\n(.*)\(`), fmt: "MSan: Uninitialized Memory in %[1]v", }, + { + title: compile("UBSan: Undefined Behavior"), + report: compile(`UBSan: Undefined Behavior (?:.*\n)+__ubsan.*\n(.*)\(`), + fmt: "UBSan: Undefined Behavior in %[1]v", + }, }, []*regexp.Regexp{}, }, -- cgit mrf-deployment