aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-05-16 19:20:24 +0200
committerDmitry Vyukov <dvyukov@google.com>2023-05-20 09:57:34 +0200
commit4bce1a3e705a8b62de8194bdb28f5eef89c8feec (patch)
tree74df364914a318624f8914e8501b6041c5c1ea80 /pkg/report/linux.go
parent9668920024926d5a21c38fbc0d15d403d7c732ac (diff)
pkg/report: ignore Register information lines
They are misleading guilty file detection. See https://groups.google.com/g/syzkaller-bugs/c/T6Z_5Gh1Qio
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index cdce6a753..c37f38884 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -100,7 +100,7 @@ func ctorLinux(cfg *config) (reporterImpl, []string, error) {
regexp.MustCompile(`^trusty/`), // Trusty sources are not in linux kernel tree.
regexp.MustCompile(`^drivers/usb/core/urb.c`), // WARNING in urb.c usually means a bug in a driver
}
- ctx.guiltyLineIgnore = regexp.MustCompile(`(hardirqs|softirqs)\s+last\s+(enabled|disabled)`)
+ ctx.guiltyLineIgnore = regexp.MustCompile(`(hardirqs|softirqs)\s+last\s+(enabled|disabled)|^Register r\d+ information`)
// These pattern do _not_ start a new report, i.e. can be in a middle of another report.
ctx.reportStartIgnores = []*regexp.Regexp{
compile(`invalid opcode: 0000`),