From 7ba4d8599e4d96a8c2deb0f5a61cfc75eaeadcd8 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 31 Oct 2022 17:46:56 -0700 Subject: prog: increase max number of syscalls in a program We currently limit program length to 20. But the NFC seed sys/linux/test/nfc needs 22 syscalls just to do basic NFC setup. Increase the limit to 30. --- prog/rand.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog') diff --git a/prog/rand.go b/prog/rand.go index 2b08998c6..8337e7af4 100644 --- a/prog/rand.go +++ b/prog/rand.go @@ -17,7 +17,7 @@ import ( const ( // "Recommended" number of calls in programs that we try to aim at during fuzzing. - RecommendedCalls = 20 + RecommendedCalls = 30 // "Recommended" max number of calls in programs. // If we receive longer programs from hub/corpus we discard them. MaxCalls = 40 -- cgit mrf-deployment