modified cmake script
@@ -215,8 +215,8 @@ if ("x${CMAKE_C_COMPILER_ID}" STREQUAL "xClang" OR "x${CMAKE_C_COMPILER_ID}" STR
if (FUZZING_MODE)
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O1 -fsanitize-memory-track-origins -fno-omit-frame-pointer -fsanitize=fuzzer,memory -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O1 -fsanitize-memory-track-origins -fno-omit-frame-pointer -fsanitize=fuzzer,memory -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O1 -fno-omit-frame-pointer -fsanitize=fuzzer,address -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div -Wno-address-of-packed-member")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O1 -fno-omit-frame-pointer -fsanitize=fuzzer,address -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div -Wno-address-of-packed-member")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O1 -fno-omit-frame-pointer -fsanitize=fuzzer,address,undefined -fno-sanitize-recover=undefined -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div -Wno-address-of-packed-member")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O1 -fno-omit-frame-pointer -fsanitize=fuzzer,address,undefined -fno-sanitize-recover=undefined -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div -Wno-address-of-packed-member")
endif ()
if (SANITIZER_ADDRESS)
