diff options
author | vanhauser-thc <vh@thc.org> | 2024-10-28 09:52:51 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-10-28 09:53:01 +0100 |
commit | 577b286508a72114d607e41ec37f6f201e9e5ce6 (patch) | |
tree | ab5a0360add357bcd20ce1270f53669fd43f5961 /instrumentation/afl-compiler-rt.o.c | |
parent | 009f663e2c9c5c00ab2159598b4c4b3eddde1f06 (diff) | |
download | afl++-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.c | 6 |
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; |