aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorむぎ茶 <49231682+verifsec@users.noreply.github.com>2022-04-05 17:38:34 +0900
committerGitHub <noreply@github.com>2022-04-05 17:38:34 +0900
commit044d3e823e5aeb172a01009e4d461b563fc27d24 (patch)
tree6ebd20827651d33d732661bb23d3406f06b46138
parent15b43e6ce1866b369700aed306d75090facc08d6 (diff)
downloadafl++-044d3e823e5aeb172a01009e4d461b563fc27d24.tar.gz
[wantfix] make error @SIMPLE_FILES
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 ```
-rw-r--r--src/afl-fuzz-bitmap.c2
1 files changed, 1 insertions, 1 deletions
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 */