diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-10-28 15:04:20 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-10-28 19:07:22 +0100 |
| commit | 4744d8ccac58e1b794bf29de93d63b522ff44027 (patch) | |
| tree | 1e352fe0173bd874fe81e3a897a870d511850691 /tools/syz-symbolize | |
| parent | 75f4f6033662215ee6d7eff1a9dec0f190d52ce7 (diff) | |
pkg/report: fix guilty file extraction
reportPrefixLen can become wrong after symbolization
if we symbolize any lines in the prefix.
Adjust reportPrefixLen during symbolization.
Automatic testing of this is problematic
because we would need to symbolize which requires
the object file with debug info.
Tested manually with syz-symbolize.
Diffstat (limited to 'tools/syz-symbolize')
| -rw-r--r-- | tools/syz-symbolize/symbolize.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-symbolize/symbolize.go b/tools/syz-symbolize/symbolize.go index 8ce2f73ff..277e09066 100644 --- a/tools/syz-symbolize/symbolize.go +++ b/tools/syz-symbolize/symbolize.go @@ -52,6 +52,7 @@ func main() { } fmt.Printf("TITLE: %v\n", rep.Title) fmt.Printf("CORRUPTED: %v (%v)\n", rep.Corrupted, rep.CorruptedReason) + fmt.Printf("MAINTAINERS: %v\n", rep.Maintainers) fmt.Printf("\n") os.Stdout.Write(rep.Report) } |
