diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-08-28 13:51:09 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-08-28 13:51:09 +0200 |
| commit | f0eccc70522c2107f70d9ab6626924612b3da80d (patch) | |
| tree | 0b06e4d487df180a77056c77d84e7d6424430687 | |
| parent | 888b041f6db42d8313ce9a79b501b9d2312d8c5e (diff) | |
repro: use correct sandbox mode
Update #59
| -rw-r--r-- | tools/syz-repro/repro.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-repro/repro.go b/tools/syz-repro/repro.go index b15d07dc0..903daeabf 100644 --- a/tools/syz-repro/repro.go +++ b/tools/syz-repro/repro.go @@ -216,8 +216,8 @@ func testProg(cfg *config.Config, p *prog.Prog, multiplier int, threaded, collid repeat *= multiplier timeoutSec *= multiplier timeout := time.Duration(timeoutSec) * time.Second - command := fmt.Sprintf("%v -executor %v -cover=0 -procs=%v -repeat=%v -threaded=%v -collide=%v %v", - inst.execprogBin, inst.executorBin, cfg.Procs, repeat, threaded, collide, bin) + command := fmt.Sprintf("%v -executor %v -cover=0 -procs=%v -repeat=%v -sandbox %v -threaded=%v -collide=%v %v", + inst.execprogBin, inst.executorBin, cfg.Procs, repeat, cfg.Sandbox, threaded, collide, bin) log.Printf("testing program (threaded=%v, collide=%v, repeat=%v, timeout=%v):\n%s\n", threaded, collide, repeat, timeout, pstr) return testImpl(inst, command, timeout) |
