fix issue #194 more seriously

This commit is contained in:
hexcoder-
2020-02-13 21:06:09 +01:00
parent afb23f09cf
commit 24dcc5eb37
6 changed files with 75 additions and 15 deletions

View File

@ -192,6 +192,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";
}
}
if (!getenv("AFL_DONT_OPTIMIZE")) {