From 1827c65596803fae6add7aed269724f4bb041b0c Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 8 Jan 2021 12:55:05 +0100 Subject: better gcc_plugin error msg --- instrumentation/afl-compiler-rt.o.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'instrumentation/afl-compiler-rt.o.c') 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; } -- cgit 1.4.1