blob: 5547704525e0502d1a125320fe09431a9fa212a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# These tests are instrumented with ubsan in non-recovery mode.
set(CMAKE_CXX_FLAGS_RELEASE
"${LIBFUZZER_FLAGS_BASE} -O0 -fsanitize=undefined -fno-sanitize-recover=all")
foreach(Test ${UbsanTests})
add_executable(LLVMFuzzer-${Test}-Ubsan
../${Test}.cpp
)
target_link_libraries(LLVMFuzzer-${Test}-Ubsan
LLVMFuzzer
)
endforeach()
|