From 577b286508a72114d607e41ec37f6f201e9e5ce6 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Mon, 28 Oct 2024 09:52:51 +0100 Subject: fix explanation how to obtain the map size --- instrumentation/afl-compiler-rt.o.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'instrumentation/afl-compiler-rt.o.c') 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; -- cgit 1.4.1