about summary refs log tree commit diff
path: root/instrumentation/afl-compiler-rt.o.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-07-10 13:51:08 +0200
committerGitHub <noreply@github.com>2024-07-10 13:51:08 +0200
commit43f462c91b3699b66e4aa1c5703b30f5189b5618 (patch)
tree8648bc27e2dd5b5b23ebd33c59722be740f506c2 /instrumentation/afl-compiler-rt.o.c
parentd1a7b6988c608c75e96b8b4776acb5177d9d5aed (diff)
parent77bad3ad239c557d17ab2788837d2a7aa854b235 (diff)
downloadafl++-43f462c91b3699b66e4aa1c5703b30f5189b5618.tar.gz
Merge pull request #2138 from meowmeowxw/ijon-set
IJON SET
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 83aa9486..372b9f5a 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -2725,7 +2725,7 @@ void __afl_coverage_skip() {
 // mark this area as especially interesting
 void __afl_coverage_interesting(u8 val, u32 id) {
 
-  __afl_area_ptr[id] = val;
+  __afl_area_ptr[id % __afl_map_size] = val;
 
 }