aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-15 14:53:53 +0100
committerGitHub <noreply@github.com>2019-01-15 14:53:53 +0100
commit79cb1a7cf80e2de624c3afa8f6e1d65ec93282af (patch)
tree7f662fadb1a859411d94758f6a0fb3fc70332dc6 /docs
parentebacf5cb4d1af4fc8f7b7833ecd72836e53037cf (diff)
Update executing_syzkaller_programs.md
-cover=0 is the default now -procs=16 looks too high, syzbot uses 6-8 so let's suggest 8
Diffstat (limited to 'docs')
-rw-r--r--docs/executing_syzkaller_programs.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/executing_syzkaller_programs.md b/docs/executing_syzkaller_programs.md
index 991946669..6ffd8694e 100644
--- a/docs/executing_syzkaller_programs.md
+++ b/docs/executing_syzkaller_programs.md
@@ -30,7 +30,7 @@ $ scp bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program test@mac
5. Run the program on the test machine:
``` bash
-$ ./syz-execprog -cover=0 -repeat=0 -procs=16 program
+$ ./syz-execprog -repeat=0 -procs=8 program
```
Several useful `syz-execprog` flags:
@@ -51,6 +51,8 @@ If you pass `-threaded=0 -collide=0`, programs will be executed as a simple sing
If you are replaying a reproducer program that contains a header along the following lines:
```
-#{Threaded:true Collide:true Repeat:true Procs:8 Sandbox:namespace Fault:false FaultCall:-1 FaultNth:0 EnableTun:true UseTmpDir:true HandleSegv:true WaitRepeat:true Debug:false Repro:false}
+#{Threaded:true Collide:true Repeat:true Procs:8 Sandbox:namespace
+ Fault:false FaultCall:-1 FaultNth:0 EnableTun:true UseTmpDir:true
+ HandleSegv:true WaitRepeat:true Debug:false Repro:false}
```
then you need to adjust `syz-execprog` flags based on the values in the header. Namely, `Threaded`/`Collide`/`Procs`/`Sandbox` directly relate to `-threaded`/`-collide`/`-procs`/`-sandbox` flags. If `Repeat` is set to `true`, add `-repeat=0` flag to `syz-execprog`.