diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-03-07 19:35:39 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-07 19:35:39 +0100 |
| commit | 2eb2cd93e0d0050ff52de919bf7620da680b16cc (patch) | |
| tree | 9e5ffc45b01ed39d7af0ce0d80125f197e0be2b0 /pkg/report/linux.go | |
| parent | 8c085c5e4a16d1dc0f7ea078e6f7a473b43037e7 (diff) | |
pkg/report: skip retpolines in reports
These __x86_indirect_thunk_rax broke reports for bad indirect calls.
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index fcf75d488..eec9cbe6b 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -474,7 +474,7 @@ func (ctx *linux) getMaintainersImpl(file string, blame bool) ([]string, error) if blame { args = append(args, "--git-blame") } - args = append(args, file) + args = append(args, "-f", file) output, err := osutil.RunCmd(time.Minute, ctx.kernelSrc, filepath.FromSlash("scripts/get_maintainer.pl"), args...) if err != nil { return nil, err @@ -741,6 +741,7 @@ var linuxStackParams = &stackParams{ "list_replace", "list_move", "list_splice", + "_indirect_thunk_", // retpolines }, corruptedLines: []*regexp.Regexp{ // Fault injection stacks are frequently intermixed with crash reports. |
