From 4bd78cef058ec8782ed0a8b4f2596f4748dbb575 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 14 Nov 2017 10:04:22 +0100 Subject: 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. --- tools/syz-symbolize/symbolize.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/syz-symbolize') 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) -- cgit mrf-deployment