aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/netbsd.go
diff options
context:
space:
mode:
authorSiddharth M <siddharth.muralee@gmail.com>2019-03-05 19:06:59 +0530
committerDmitry Vyukov <dvyukov@google.com>2019-03-05 14:36:59 +0100
commit2a477d771398e403ba995eb040904e072c610e4e (patch)
tree7831d4009d126efd8e301b65dda1be344ec21bba /pkg/report/netbsd.go
parentdfd609eca1871f01757d6b04b19fc273c87c14e5 (diff)
pkg/report: add better ASan bug parsing for NetBSD
* Add basic ASan parser * Fix the test data * Removed Read|Write parameter
Diffstat (limited to 'pkg/report/netbsd.go')
-rw-r--r--pkg/report/netbsd.go5
1 files changed, 3 insertions, 2 deletions
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{},