diff options
author | van Hauser <vh@thc.org> | 2020-10-23 14:05:34 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-23 14:05:34 +0200 |
commit | 0e748ccda713708de6a501d23a58788aba9d0b03 (patch) | |
tree | b230604ee36707eb0546c242bcfe05e32e1cd428 /include/config.h | |
parent | c866aef37fcf799506d93b9a47d4eb2b77c75f5b (diff) | |
download | afl++-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.h | 10 |
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: */ |