Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: fuzzer/go/frontend/data/report.go

Issue 1668543004: Add AddressSanitizer to fuzzer analysis (Closed) Base URL: https://skia.googlesource.com/buildbot@remove-old-tests
Patch Set: add multi threaded delete Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fuzzer/go/frontend/data/report.go
diff --git a/fuzzer/go/frontend/data/report.go b/fuzzer/go/frontend/data/report.go
index fd7a7e6683815803e650a6e3863a1fa71f04808d..73f91044d46dab5ad9e608f93c57d54cd312a78b 100644
--- a/fuzzer/go/frontend/data/report.go
+++ b/fuzzer/go/frontend/data/report.go
@@ -32,9 +32,10 @@ type LineFuzzReport struct {
}
type FuzzReport struct {
- DebugStackTrace StackTrace `json:"debugStackTrace"`
- ReleaseStackTrace StackTrace `json:"releaseStackTrace"`
- HumanReadableFlags []string `json:"flags"`
+ DebugStackTrace StackTrace `json:"debugStackTrace"`
+ ReleaseStackTrace StackTrace `json:"releaseStackTrace"`
+ DebugFlags []string `json:"debugFlags"`
+ ReleaseFlags []string `json:"releaseFlags"`
FuzzName string `json:"fuzzName"`
FuzzCategory string `json:"category"`
@@ -43,14 +44,15 @@ type FuzzReport struct {
type SortedFuzzReports []FuzzReport
// ParseReport creates a report given the raw materials passed in.
-func ParseReport(fuzzName, debugDump, debugErr, releaseDump, releaseErr string) FuzzReport {
- result := ParseFuzzResult(debugDump, debugErr, releaseDump, releaseErr)
+func ParseReport(g GCSPackage) FuzzReport {
+ result := ParseGCSPackage(g)
return FuzzReport{
- DebugStackTrace: result.DebugStackTrace,
- ReleaseStackTrace: result.ReleaseStackTrace,
- HumanReadableFlags: result.Flags.ToHumanReadableFlags(),
- FuzzName: fuzzName,
- FuzzCategory: "", // Will be filled in later, when added to the tree
+ DebugStackTrace: result.Debug.StackTrace,
+ ReleaseStackTrace: result.Release.StackTrace,
+ DebugFlags: result.Debug.Flags.ToHumanReadableFlags(),
+ ReleaseFlags: result.Release.Flags.ToHumanReadableFlags(),
+ FuzzName: g.Name,
+ FuzzCategory: g.FuzzCategory,
}
}

Powered by Google App Engine
This is Rietveld 408576698