about summary refs log tree commit diff
path: root/instrumentation/afl-compiler-rt.o.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-17 09:48:04 +0100
committervanhauser-thc <vh@thc.org>2021-02-17 09:48:04 +0100
commit938512a6b9451000f40491b2554b5d360840cfe5 (patch)
treefe30f6862b35638b42ef0dacf49bb0fbe21641a6 /instrumentation/afl-compiler-rt.o.c
parent7444cfa4503be8cced0fcbd4a98f855fb2c0ef1d (diff)
downloadafl++-938512a6b9451000f40491b2554b5d360840cfe5.tar.gz
minor fixes
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 5fb715e2..dba4dc65 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -1090,7 +1090,7 @@ __attribute__((constructor(0))) void __afl_auto_first(void) {
   if (getenv("AFL_DISABLE_LLVM_INSTRUMENTATION")) return;
   u8 *ptr;
 
-  ptr = (u8 *)malloc(2097152);
+  ptr = (u8 *)malloc(MAP_INITIAL_SIZE);
 
   if (ptr && (ssize_t)ptr != -1) {