aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-06 09:31:41 +0100
committervanhauser-thc <vh@thc.org>2021-02-06 09:31:41 +0100
commitbf289ce50e60ffe07d916915cdcca99e59479386 (patch)
tree420bde19c55df57de11113477ce97551f7554e03
parent19d8f00963a2eb3526fc442c0b1685c166b68410 (diff)
downloadafl++-bf289ce50e60ffe07d916915cdcca99e59479386.tar.gz
larger dummy map
-rw-r--r--instrumentation/afl-compiler-rt.o.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index c24173af..905051c6 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -70,7 +70,7 @@
run. It will end up as .comm, so it shouldn't be too wasteful. */
#if MAP_SIZE <= 65536
- #define MAP_INITIAL_SIZE 256000
+ #define MAP_INITIAL_SIZE 1048576
#else
#define MAP_INITIAL_SIZE MAP_SIZE
#endif
@@ -1090,7 +1090,7 @@ __attribute__((constructor(0))) void __afl_auto_first(void) {
if (getenv("AFL_DISABLE_LLVM_INSTRUMENTATION")) return;
u8 *ptr;
- ptr = (u8 *)malloc(1024000);
+ ptr = (u8 *)malloc(2097152);
if (ptr && (ssize_t)ptr != -1) {