mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 06:18:04 +00:00
Added AFL_UBSAN_VERBOSE variable
This commit is contained in:
11
src/afl-cc.c
11
src/afl-cc.c
@ -1945,10 +1945,15 @@ void add_sanitizers(aflcc_state_t *aflcc, char **envp) {
|
||||
|
||||
if (getenv("AFL_USE_UBSAN") || aflcc->have_ubsan) {
|
||||
|
||||
if (!aflcc->have_ubsan) {
|
||||
if (!aflcc->have_ubsan) { insert_param(aflcc, "-fsanitize=undefined"); }
|
||||
|
||||
insert_param(aflcc, "-fsanitize=undefined");
|
||||
insert_param(aflcc, "-fno-sanitize-recover=all");
|
||||
if (getenv("AFL_UBSAN_VERBOSE")) {
|
||||
|
||||
insert_param(aflcc, "-fno-sanitize-recover=undefined");
|
||||
|
||||
} else {
|
||||
|
||||
insert_param(aflcc, "-fsanitize-trap=undefined");
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user