AFL icon indicating copy to clipboard operation
AFL copied to clipboard

Is it necessary to put the "-fsanitize-undefined-trap-on-error" flag when using AFL with UBSan?

Open zhoulaifu opened this issue 2 years ago • 0 comments

I am building a C project in this way:

make CC=afl-gcc CFLAGS="-g -fsanitize=undefined" The goal is to detect undefined behavior bugs with AFL. Do I also have to put "-fsanitize-undefined-trap-on-error" in CFLAGS?

%afl-gcc version
afl-cc++2.68c by Michal Zalewski

zhoulaifu avatar May 08 '22 05:05 zhoulaifu