diff options
| author | Mara Mihali <maramihali@google.com> | 2021-07-20 08:25:56 +0000 |
|---|---|---|
| committer | maramihali <maramihali@google.com> | 2021-07-22 13:39:23 +0300 |
| commit | 241790bb6f90cf276f6d68a7c6768be40880bef1 (patch) | |
| tree | cc73669764145b600b56d1095a0247de5aac0567 /syz-verifier/main.go | |
| parent | db24b250f15cce6c54025419f9c273e4d65a59b4 (diff) | |
syz-verifier: gather stats based on ReturnState not just Errno
Diffstat (limited to 'syz-verifier/main.go')
| -rwxr-xr-x | syz-verifier/main.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/syz-verifier/main.go b/syz-verifier/main.go index 683942871..1a34c4716 100755 --- a/syz-verifier/main.go +++ b/syz-verifier/main.go @@ -14,7 +14,6 @@ import ( "strconv" "strings" "sync" - "syscall" "time" "github.com/google/syzkaller/pkg/instance" @@ -468,11 +467,7 @@ func createReport(rr *ResultReport, pools int) []byte { continue } - errnoDesc := "success" - if state.Errno != 0 { - errnoDesc = syscall.Errno(state.Errno).Error() - } - data += fmt.Sprintf("\t↳ Pool: %d, Flags: %d, Errno: %d (%s)\n", i, state.Flags, state.Errno, errnoDesc) + data += fmt.Sprintf("\t↳ Pool: %d, %s", i, state.String()) } data += "\n" |
