From b5ad152b39d934d3fc79c2ccf261c4dc87571a54 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 28 Mar 2024 16:48:17 +0100 Subject: 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. --- prog/mutation_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prog/mutation_test.go') 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) { -- cgit mrf-deployment