diff options
author | vanhauser-thc <vh@thc.org> | 2021-06-16 15:33:03 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-06-16 15:33:03 +0200 |
commit | 35153e9b495e3f61c032a3d911e4906fed0b50d6 (patch) | |
tree | f23ca6d52ccdccb2bdf82570b936e8686099e27d /instrumentation/afl-compiler-rt.o.c | |
parent | c46f8c1f70918056e95c801b1a81f11c79304b05 (diff) | |
download | afl++-35153e9b495e3f61c032a3d911e4906fed0b50d6.tar.gz |
correct map size for small targets
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 404b761f..92deff6a 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -271,12 +271,6 @@ static void __afl_map_shm(void) { if (__afl_final_loc) { - if (__afl_final_loc % 64) { - - __afl_final_loc = (((__afl_final_loc + 63) >> 6) << 6); - - } - __afl_map_size = __afl_final_loc; if (__afl_final_loc > MAP_SIZE) { |