diff options
author | van Hauser <vh@thc.org> | 2021-01-08 12:55:05 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2021-01-08 12:55:05 +0100 |
commit | 1827c65596803fae6add7aed269724f4bb041b0c (patch) | |
tree | 60116a3409ac199572a5476f675d5f3a375f57b0 /instrumentation/afl-compiler-rt.o.c | |
parent | 3d1a25ce4e8862b82662c64fbea000692f300c62 (diff) | |
download | afl++-1827c65596803fae6add7aed269724f4bb041b0c.tar.gz |
better gcc_plugin error msg
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index add303d7..f194510e 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -1437,15 +1437,7 @@ void __afl_coverage_abort() { // mark this area as especially interesting void __afl_coverage_interesting(u8 val, u32 id) { - if (id) { - - __afl_area_ptr[id] = val; - - } else { - - __afl_area_ptr[(rand() % __afl_map_size)] = val; - - } + __afl_area_ptr[id] = val; } |