diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-04-06 11:32:21 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-04-06 17:14:35 +0200 |
| commit | 4a7cb474c2f19630d8b1c2609f69ea25f249d535 (patch) | |
| tree | 688e6ea3f8928ce50629506ddcd69cc4303c7de5 /tools | |
| parent | 86b4b7f81837a5f26db1e1e2cbbefc7c3885fb08 (diff) | |
pkg/instance: explicitly specify optional fuzzer arguments
Otherwise we get problems while testing patches for older syzkaller
versions, which didn't support optional arguments.
Adjust tests so that problems with how OldFuzzerCmd handles such
arguments could be seen.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-runtest/runtest.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/syz-runtest/runtest.go b/tools/syz-runtest/runtest.go index 2f32ca285..621c3e958 100644 --- a/tools/syz-runtest/runtest.go +++ b/tools/syz-runtest/runtest.go @@ -187,7 +187,9 @@ func (mgr *Manager) boot(name string, index int) (*report.Report, error) { Debug: mgr.debug, Test: false, Runtest: true, - Slowdown: mgr.cfg.Timeouts.Slowdown, + Optional: &instance.OptionalFuzzerArgs{ + Slowdown: mgr.cfg.Timeouts.Slowdown, + }, } cmd := instance.FuzzerCmd(args) outc, errc, err := inst.Run(time.Hour, mgr.vmStop, cmd) |
