aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-07 10:38:51 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-11-07 10:39:39 +0100
commit8bac040e2ab5f20199ca96ccf0d1db48fa1de4de (patch)
treec9e97a47a87b8c1c2636bcf64f73f67118055026 /docs
parent38977f0e6be2d0888e5f74fa8b4aa9c4308d5539 (diff)
docs: update path to syz-execprog binary
Diffstat (limited to 'docs')
-rw-r--r--docs/executing_syzkaller_programs.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/executing_syzkaller_programs.md b/docs/executing_syzkaller_programs.md
index 74fd49649..991946669 100644
--- a/docs/executing_syzkaller_programs.md
+++ b/docs/executing_syzkaller_programs.md
@@ -1,11 +1,13 @@
# Executing syzkaller programs
-This page describes how to execute existing syzkaller programs for the purpose of bug reproduction. This way you can replay a single program or a whole execution log with several programs.
+This page describes how to execute existing syzkaller programs for the purpose
+of bug reproduction. This way you can replay a single program or a whole
+execution log with several programs.
-1. Setup Go toolchain (if you don't yet have it, you need version 1.8 or higher):
-Download latest Go distribution from (https://golang.org/dl/). Unpack it to `$HOME/go1.8`.
+1. Setup Go toolchain (if you don't yet have it, you need version 1.9 or higher):
+Download latest Go distribution from (https://golang.org/dl/). Unpack it to `$HOME/go1.9`.
``` bash
-$ export GOROOT=$HOME/go1.8
+$ export GOROOT=$HOME/go1.9
$ export GOPATH=$HOME/gopath
```
@@ -20,14 +22,15 @@ $ cd $GOPATH/src/github.com/google/syzkaller
$ make
```
-4. Copy binaries and the program to test machine:
+4. Copy binaries and the program to test machine (substitue target `linux_amd64`
+as necessary):
``` bash
-$ scp bin/syz-execprog bin/syz-executor program test@machine
+$ scp bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program test@machine
```
5. Run the program on the test machine:
``` bash
-$ ./syz-execprog -executor ./syz-executor -cover=0 -repeat=0 -procs=16 program
+$ ./syz-execprog -cover=0 -repeat=0 -procs=16 program
```
Several useful `syz-execprog` flags: