diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-03-28 16:48:17 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-04-02 13:05:47 +0000 |
| commit | b5ad152b39d934d3fc79c2ccf261c4dc87571a54 (patch) | |
| tree | 05d49e862ee8dc68e1916b41c5e88a02c94e4dc0 /prog/mutation_test.go | |
| parent | 81b7a40ac5bab47ffe0b732c66522cfc922df3ad (diff) | |
prog: use optimized mutation parameters
These parameters have been selected by a local experiment.
On syz-testbed, they seem to help syzkaller find +15% more different
crash types per single run and +30% more crash types overall.
Later we might want to choose these parameters during the actual run.
Diffstat (limited to 'prog/mutation_test.go')
| -rw-r--r-- | prog/mutation_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/prog/mutation_test.go b/prog/mutation_test.go index 11e3a4933..29bf7a34a 100644 --- a/prog/mutation_test.go +++ b/prog/mutation_test.go @@ -152,6 +152,7 @@ func TestMutateArgument(t *testing.T) { ncalls: 2 * len(p.Calls), ct: ct, corpus: nil, + opts: DefaultMutateOpts, } ctx.mutateArg() data1 := p1.Serialize() @@ -179,6 +180,7 @@ func TestSizeMutateArg(t *testing.T) { ncalls: 2 * len(p.Calls), ct: ct, corpus: nil, + opts: DefaultMutateOpts, } ctx.mutateArg() ForeachArg(p.Calls[0], func(arg Arg, ctx *ArgCtx) { |
