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>2024-10-28 09:52:51 +0100
committervanhauser-thc <vh@thc.org>2024-10-28 09:53:01 +0100
commit577b286508a72114d607e41ec37f6f201e9e5ce6 (patch)
treeab5a0360add357bcd20ce1270f53669fd43f5961 /instrumentation/afl-compiler-rt.o.c
parent009f663e2c9c5c00ab2159598b4c4b3eddde1f06 (diff)
downloadafl++-577b286508a72114d607e41ec37f6f201e9e5ce6.tar.gz
fix explanation how to obtain the map size
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r--instrumentation/afl-compiler-rt.o.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 6084880f..075d4d29 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -367,6 +367,12 @@ static void __afl_map_shm(void) {
 
     }
 
+    if (__afl_debug) {
+
+      fprintf(stderr, "DEBUG: AFL_MAP_SIZE=%u\n", __afl_map_size);
+
+    }
+
     if (__afl_final_loc > MAP_SIZE) {
 
       char *ptr;