Skip to content

Commit

Permalink
Update syzbot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dvyukov authored Mar 7, 2018
1 parent a5e7654 commit d50edb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/syzbot.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ A syskaller program can also give you an idea as to what syscalls with what
arguments were executed (note that some calls can actually be executed in
parallel).
A syzkaller program can be converted to an almost equivalent C source using `syz-prog2c` utility. `syz-prog2c` has lots of flags in common with [syz-execprog](https://github.com/google/syzkaller/blob/master/docs/executing_syzkaller_programs.md), e.g. `-threaded`/`-collide` which control if the syscalls are executed sequentially or in parallel. An example invocation:
```
syz-prog2c -prog repro.syz.txt -threaded -collide -repeat -procs=8 -sandbox=namespace -tun -tmpdir -waitrepeat
```
However, note that if `syzbot` did not provide a C reproducer, it wasn't able to trigger the bug using the C program (though, it can be just because the bug is triggered by a subtle race condition).
## Crash does not reproduce?
If the provided reproducer does not work for you, most likely it is related to the
Expand Down

0 comments on commit d50edb7

Please sign in to comment.