diff options
author | van Hauser <vh@thc.org> | 2020-12-21 11:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 11:19:18 +0100 |
commit | 47e04548d46ffdd17d82d9528be744641de058b6 (patch) | |
tree | 4145bc58d29c59159a1be5049d6ff4beea46afee /instrumentation/afl-compiler-rt.o.c | |
parent | c28ecbbb2b35cc0fd9eac267ea4db33d891d9e59 (diff) | |
parent | 6d1f17d78dec7947a18174918af0703310af015e (diff) | |
download | afl++-47e04548d46ffdd17d82d9528be744641de058b6.tar.gz |
Merge pull request #649 from AFLplusplus/skim_romu
switch to romu and skim
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index b1df26db..cddde87c 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -236,8 +236,8 @@ static void __afl_map_shm(void) { if (__afl_final_loc) { - if (__afl_final_loc % 8) - __afl_final_loc = (((__afl_final_loc + 7) >> 3) << 3); + if (__afl_final_loc % 32) + __afl_final_loc = (((__afl_final_loc + 31) >> 5) << 5); __afl_map_size = __afl_final_loc; if (__afl_final_loc > MAP_SIZE) { |