From 044d3e823e5aeb172a01009e4d461b563fc27d24 Mon Sep 17 00:00:00 2001 From: むぎ茶 <49231682+verifsec@users.noreply.github.com> Date: Tue, 5 Apr 2022 17:38:34 +0900 Subject: [wantfix] make error @SIMPLE_FILES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi there! I tried to compile with SIMPLE_FILES, but got an error message. Please have a look through it. Sincerely. ``` src/afl-fuzz-bitmap.c: In function ‘save_if_interesting’: src/afl-fuzz-bitmap.c:706:39: error: ‘afl_state_t’ {aka ‘struct afl_state’} has no member named ‘last_kill_signal’ 706 | afl->saved_crashes, afl->last_kill_signal); | ^~ make: *** [GNUmakefile:437: afl-fuzz] Error 1 ``` --- src/afl-fuzz-bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afl-fuzz-bitmap.c') diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index 99f37cbf..e4124bf5 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -703,7 +703,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) { #else snprintf(fn, PATH_MAX, "%s/crashes/id_%06llu_%02u", afl->out_dir, - afl->saved_crashes, afl->last_kill_signal); + afl->saved_crashes, afl->fsrv.last_kill_signal); #endif /* ^!SIMPLE_FILES */ -- cgit 1.4.1