diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-11-06 11:39:02 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-06 11:41:05 +0100 |
| commit | da505f84d3e8fc3bb7c54fea76eb5574987ee01a (patch) | |
| tree | 1744e28afcc5c1ee6ab874000bac35c53bc598dd /pkg/report/netbsd.go | |
| parent | 424cf6e8a12577719dc310bce2cce2a91723cf54 (diff) | |
pkg/report: detect syzkaller panics in lost connection bugs
Some syzkaller panics happen due to memory corruptions,
but it still would be useful at least to get some visibility into these crashes.
On some OSes we actualy already detect them as they have "panic:" oops pattern,
but not e.g. on linux.
Fixes #318
Diffstat (limited to 'pkg/report/netbsd.go')
| -rw-r--r-- | pkg/report/netbsd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/report/netbsd.go b/pkg/report/netbsd.go index 45c7c2717..5ebdc7524 100644 --- a/pkg/report/netbsd.go +++ b/pkg/report/netbsd.go @@ -145,7 +145,7 @@ func (ctx *netbsd) symbolizeLine(symbFunc func(bin string, pc uint64) ([]symboli } // nolint: lll -var netbsdOopses = []*oops{ +var netbsdOopses = append([]*oops{ { []byte("fault in supervisor mode"), []oopsFormat{ @@ -188,4 +188,4 @@ var netbsdOopses = []*oops{ }, []*regexp.Regexp{}, }, -} +}, commonOopses...) |
