mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 08:10:26 +02:00
Shamelessly copy Josiah
This commit is contained in:
15
source/lib/json/tests/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt
vendored
Normal file
15
source/lib/json/tests/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# These tests are instrumented with ubsan in non-recovery mode.
|
||||
|
||||
set(CMAKE_CXX_FLAGS
|
||||
"${LIBFUZZER_FLAGS_BASE} -fsanitize=undefined -fno-sanitize-recover=all")
|
||||
|
||||
set(UbsanTests
|
||||
SignedIntOverflowTest
|
||||
)
|
||||
|
||||
foreach(Test ${UbsanTests})
|
||||
add_libfuzzer_test(${Test}-Ubsan SOURCES ../${Test}.cpp)
|
||||
endforeach()
|
||||
|
||||
# Propagate value into parent directory
|
||||
set(TestBinaries ${TestBinaries} PARENT_SCOPE)
|
Reference in New Issue
Block a user