diff options
author | van Hauser <vh@thc.org> | 2020-12-11 11:19:26 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-12-11 11:19:26 +0100 |
commit | 2bf68a0bf45fb2bb3bc0f574f20959a62c9f8239 (patch) | |
tree | 9452e9bc752dccbec05ac87928e2cf32a1bafd5a /instrumentation/afl-compiler-rt.o.c | |
parent | 8a1acac559edb66e8e246e73508cec541a9fc530 (diff) | |
download | afl++-2bf68a0bf45fb2bb3bc0f574f20959a62c9f8239.tar.gz |
fix MMAP
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 99dcbb67..afe0839e 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -1107,7 +1107,7 @@ void __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop) { to avoid duplicate calls (which can happen as an artifact of the underlying implementation in LLVM). */ - *(start++) = R(MAP_SIZE - 1) + 1; + *(start++) = ++__afl_final_loc; while (start < stop) { |