Debian Codegraph @

3rdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt

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