From 4bce1a3e705a8b62de8194bdb28f5eef89c8feec Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 16 May 2023 19:20:24 +0200 Subject: pkg/report: ignore Register information lines They are misleading guilty file detection. See https://groups.google.com/g/syzkaller-bugs/c/T6Z_5Gh1Qio --- pkg/report/linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/report/linux.go') 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`), -- cgit mrf-deployment