mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 12:48:06 +00:00
afl_trace_pc fix
This commit is contained in:
@ -18,6 +18,7 @@ Version ++2.52d (dev):
|
|||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
- unicorn_mode got added - thanks to domenukk for the patch!
|
- unicorn_mode got added - thanks to domenukk for the patch!
|
||||||
|
- fix llvm_mode AFL_TRACE_PC with modern llvm
|
||||||
- fix a crash in qemu_mode which also exists in stock afl
|
- fix a crash in qemu_mode which also exists in stock afl
|
||||||
- added libcompcov, a laf-intel implementation for qemu! :)
|
- added libcompcov, a laf-intel implementation for qemu! :)
|
||||||
see qemu_mode/libcompcov/README.libcompcov
|
see qemu_mode/libcompcov/README.libcompcov
|
||||||
|
@ -144,9 +144,10 @@ static void edit_params(u32 argc, char** argv) {
|
|||||||
// /laf
|
// /laf
|
||||||
|
|
||||||
#ifdef USE_TRACE_PC
|
#ifdef USE_TRACE_PC
|
||||||
cc_params[cc_par_cnt++] = "-fsanitize-coverage=trace-pc-guard";
|
cc_params[cc_par_cnt++] = "-fsanitize-coverage=trace-pc-guard"; // edge coverage by default
|
||||||
cc_params[cc_par_cnt++] = "-mllvm";
|
//cc_params[cc_par_cnt++] = "-mllvm";
|
||||||
cc_params[cc_par_cnt++] = "-sanitizer-coverage-block-threshold=0";
|
//cc_params[cc_par_cnt++] = "-fsanitize-coverage=trace-cmp,trace-div,trace-gep";
|
||||||
|
//cc_params[cc_par_cnt++] = "-sanitizer-coverage-block-threshold=0";
|
||||||
#else
|
#else
|
||||||
cc_params[cc_par_cnt++] = "-Xclang";
|
cc_params[cc_par_cnt++] = "-Xclang";
|
||||||
cc_params[cc_par_cnt++] = "-load";
|
cc_params[cc_par_cnt++] = "-load";
|
||||||
|
Reference in New Issue
Block a user