mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
add AFL_USE_UBSAN
This commit is contained in:
@ -300,6 +300,14 @@ static void edit_params(u32 argc, char** argv) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (getenv("AFL_USE_UBSAN")) {
|
||||||
|
|
||||||
|
cc_params[cc_par_cnt++] = "-fsanitize=undefined";
|
||||||
|
cc_params[cc_par_cnt++] = "-fsanitize-undefined-trap-on-error";
|
||||||
|
cc_params[cc_par_cnt++] = "-fno-sanitize-recover=all";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_TRACE_PC
|
#ifdef USE_TRACE_PC
|
||||||
|
Reference in New Issue
Block a user