From 2a477d771398e403ba995eb040904e072c610e4e Mon Sep 17 00:00:00 2001 From: Siddharth M Date: Tue, 5 Mar 2019 19:06:59 +0530 Subject: pkg/report: add better ASan bug parsing for NetBSD * Add basic ASan parser * Fix the test data * Removed Read|Write parameter --- pkg/report/netbsd.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkg/report/netbsd.go') diff --git a/pkg/report/netbsd.go b/pkg/report/netbsd.go index 467c3202f..20271eb6b 100644 --- a/pkg/report/netbsd.go +++ b/pkg/report/netbsd.go @@ -71,8 +71,9 @@ var netbsdOopses = []*oops{ []byte("ASan:"), []oopsFormat{ { - title: compile("ASan:"), - fmt: "ASan bug", + title: compile("ASan: Unauthorized Access"), + report: compile(`ASan: Unauthorized Access .*\[.*,(.*),(?:.*\n)+?.*? sys_(.*)\<`), + fmt: "ASan: Unauthorized Access in %[2]v syscall", }, }, []*regexp.Regexp{}, -- cgit mrf-deployment