aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-execprog/execprog.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-12-17 17:11:08 +0100
committerDmitry Vyukov <dvyukov@google.com>2015-12-17 17:31:11 +0100
commitbbf4e353234e99f4a25ef85a8b02419b652e7401 (patch)
tree965fe1ab0b8b257bfdb2ea8000a2c1a029b609fc /tools/syz-execprog/execprog.go
parentbfc05fb926e5004fbe1b7dae29c44d8e301b2b72 (diff)
executor: export syscall execution results
Errno can be used to guide fuzzing, or detect not implemented syscalls.
Diffstat (limited to 'tools/syz-execprog/execprog.go')
-rw-r--r--tools/syz-execprog/execprog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go
index dcb2a0b8b..a94b87878 100644
--- a/tools/syz-execprog/execprog.go
+++ b/tools/syz-execprog/execprog.go
@@ -103,7 +103,7 @@ func main() {
return
}
p := progs[idx%len(progs)]
- output, strace, cov, failed, hanged, err := env.Exec(p)
+ output, strace, cov, _, failed, hanged, err := env.Exec(p)
if *flagDebug || err != nil {
fmt.Printf("result: failed=%v hanged=%v err=%v\n\n%s", failed, hanged, err, output)
}