diff options
-rw-r--r-- | docs/Changelog.md | 1 | ||||
-rw-r--r-- | src/afl-cc.c | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md index e4c59978..842b727b 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -18,6 +18,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>. to variables queue items instead of 12. - afl-cc: - better handling of -fsanitize=..,...,.. lists + - fix gcc_mode cmplog - obtain the map size of a target with setting AFL_DUMP_MAP_SIZE=1 note that this will exit the target before main() - qemu_mode: diff --git a/src/afl-cc.c b/src/afl-cc.c index ffd15476..c0449e64 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -498,13 +498,10 @@ static void edit_params(u32 argc, char **argv, char **envp) { alloc_printf("-fplugin=%s/afl-gcc-cmptrs-pass.so", obj_path); cc_params[cc_par_cnt++] = fplugin_arg; - } else { - - fplugin_arg = alloc_printf("-fplugin=%s/afl-gcc-pass.so", obj_path); - cc_params[cc_par_cnt++] = fplugin_arg; - } + fplugin_arg = alloc_printf("-fplugin=%s/afl-gcc-pass.so", obj_path); + cc_params[cc_par_cnt++] = fplugin_arg; cc_params[cc_par_cnt++] = "-fno-if-conversion"; cc_params[cc_par_cnt++] = "-fno-if-conversion2"; |