about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-03-19 19:04:59 +0100
committerGitHub <noreply@github.com>2021-03-19 19:04:59 +0100
commite98cd008222aa3bfea9b696ad756163302437eb3 (patch)
tree56cce5a15206634bd1877c428a5b15c064d7fa53 /include/config.h
parent23f7bee81c46ad4f0f65fa56d08064ab5f1e2e6f (diff)
parent2102264acf5c271b7560a82771b3af8136af9354 (diff)
downloadafl++-e98cd008222aa3bfea9b696ad756163302437eb3.tar.gz
Merge pull request #831 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index cc8024ea..29225f6b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -26,7 +26,7 @@
 /* Version string: */
 
 // c = release, a = volatile github dev, e = experimental branch
-#define VERSION "++3.11c"
+#define VERSION "++3.12a"
 
 /******************************************************
  *                                                    *
@@ -34,6 +34,15 @@
  *                                                    *
  ******************************************************/
 
+/* Default shared memory map size. Most targets just need a coverage map
+   between 20-250kb. Plus there is an auto-detection feature in afl-fuzz.
+   However if a target has problematic constructors and init arrays then
+   this can fail. Hence afl-fuzz deploys a larger default map. The largest
+   map seen so far is the xlsx fuzzer for libreoffice which is 5MB.
+   At runtime this value can be overriden via AFL_MAP_SIZE.
+   Default: 8MB (defined in bytes) */
+#define DEFAULT_SHMEM_SIZE (8 * 1024 * 1024)
+
 /* CMPLOG/REDQUEEN TUNING
  *
  * Here you can modify tuning and solving options for CMPLOG.