aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/rand.go')
-rw-r--r--prog/rand.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/prog/rand.go b/prog/rand.go
index b06cc1a90..d54ef0dfe 100644
--- a/prog/rand.go
+++ b/prog/rand.go
@@ -21,6 +21,10 @@ const (
// "Recommended" max number of calls in programs.
// If we receive longer programs from hub/corpus we discard them.
MaxCalls = 40
+ // "Recommended" number of calls in KFuzzTest mode. These targets test the behavior
+ // of internal kernel functions rather than system behavior, and for this reason
+ // it is more sensible to generate a smaller number of calls instead of long chains.
+ RecommendedCallsKFuzzTest = 5
)
type randGen struct {