1# These tests are instrumented with ubsan in non-recovery mode. 2 3set(CMAKE_CXX_FLAGS 4 "${LIBFUZZER_FLAGS_BASE} -fsanitize=undefined -fno-sanitize-recover=all") 5 6set(UbsanTests 7 SignedIntOverflowTest 8 ) 9 10foreach(Test ${UbsanTests}) 11 add_libfuzzer_test(${Test}-Ubsan SOURCES ../${Test}.cpp) 12endforeach() 13 14# Propagate value into parent directory 15set(TestBinaries ${TestBinaries} PARENT_SCOPE) 16