aboutsummaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-23 14:05:34 +0200
committervan Hauser <vh@thc.org>2020-10-23 14:05:34 +0200
commit0e748ccda713708de6a501d23a58788aba9d0b03 (patch)
treeb230604ee36707eb0546c242bcfe05e32e1cd428 /include/config.h
parentc866aef37fcf799506d93b9a47d4eb2b77c75f5b (diff)
downloadAFLplusplus-0e748ccda713708de6a501d23a58788aba9d0b03.tar.gz
set max testcache entries automated if not specified by the user
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h
index b4f3a775..491d8132 100644
--- a/include/config.h
+++ b/include/config.h
@@ -295,14 +295,12 @@
#define RESEED_RNG 100000
-/* The maximum number of testcases to cache */
-
-#define TESTCASE_ENTRIES 16384
-
/* The default maximum testcase cache size in MB, 0 = disable.
- A value between 50 and 250 is a good default value. */
+ A value between 50 and 250 is a good default value. Note that the
+ number of entries will be auto assigned if not specified via the
+ AFL_TESTCACHE_ENTRIES env variable */
-#define TESTCASE_CACHE 0
+#define TESTCASE_CACHE_SIZE 50
/* Maximum line length passed from GCC to 'as' and used for parsing
configuration files: */