syz-manager: log when a crash report is corrupted

This commit is contained in:
Dmitry Vyukov 2018-03-31 17:27:58 +02:00
parent aa258367d3
commit 63f4cf6fff

View File

@ -613,7 +613,11 @@ func (mgr *Manager) emailCrash(crash *Crash) {
}
func (mgr *Manager) saveCrash(crash *Crash) bool {
Logf(0, "vm-%v: crash: %v", crash.vmIndex, crash.Title)
corrupted := ""
if crash.Corrupted {
corrupted = " [corrupted]"
}
Logf(0, "vm-%v: crash: %v%v", crash.vmIndex, crash.Title, corrupted)
if err := mgr.getReporter().Symbolize(crash.Report); err != nil {
Logf(0, "failed to symbolize report: %v", err)
}