aboutsummaryrefslogtreecommitdiffstats
path: root/docs/executing_syzkaller_programs.md
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-09 16:29:35 +0200
committerGitHub <noreply@github.com>2017-08-09 16:29:35 +0200
commit6bf1e337a0475b9a919243a262067008790ee6dd (patch)
tree14eab0c8d82f66e65564e3f2a4ba53ccc74cf71e /docs/executing_syzkaller_programs.md
parent7e288c0531f527d939d886566a8f2314f3657948 (diff)
Update executing_syzkaller_programs.md
Diffstat (limited to 'docs/executing_syzkaller_programs.md')
-rw-r--r--docs/executing_syzkaller_programs.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/executing_syzkaller_programs.md b/docs/executing_syzkaller_programs.md
index bd1570c0e..74fd49649 100644
--- a/docs/executing_syzkaller_programs.md
+++ b/docs/executing_syzkaller_programs.md
@@ -45,3 +45,9 @@ Several useful `syz-execprog` flags:
```
If you pass `-threaded=0 -collide=0`, programs will be executed as a simple single-threaded sequence of syscalls. `-threaded=1` forces execution of each syscall in a separate thread, so that execution can proceed over blocking syscalls. `-collide=0` forces second round of execution of syscalls when pairs of syscalls are executed concurrently.
+
+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}
+```
+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`.