diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-11-14 10:04:22 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-14 10:04:22 +0100 |
| commit | 4bd78cef058ec8782ed0a8b4f2596f4748dbb575 (patch) | |
| tree | d6c7341926279c281a6af40b0640de0c2f284182 /tools/syz-symbolize | |
| parent | 82b3b903a0c96c6867b6ca22f27f58d2633323f7 (diff) | |
pkg/report, pkg/repro, syz-manager: name crash attributes consistently
We currently have several names for crash attributes, which is disturbing.
E.g. crash title is called "Title" or "Desc". Name them consistently.
Title - single line bug identity.
Report - whole crash text.
Log - whole fuzzer/kernel output.
Diffstat (limited to 'tools/syz-symbolize')
| -rw-r--r-- | tools/syz-symbolize/symbolize.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-symbolize/symbolize.go b/tools/syz-symbolize/symbolize.go index e925159d2..d8a77691c 100644 --- a/tools/syz-symbolize/symbolize.go +++ b/tools/syz-symbolize/symbolize.go @@ -43,14 +43,14 @@ func main() { fmt.Fprintf(os.Stderr, "no crash found\n") os.Exit(1) } - text = rep.Text + text = rep.Report text, err = reporter.Symbolize(text) if err != nil { fmt.Fprintf(os.Stderr, "failed to symbolize: %v\n", err) os.Exit(1) } guiltyFile := reporter.ExtractGuiltyFile(text) - fmt.Printf("%v\n\n", rep.Desc) + fmt.Printf("%v\n\n", rep.Title) os.Stdout.Write(text) fmt.Printf("\n") fmt.Printf("guilty file: %v\n", guiltyFile) |
