1# These tests depend on both coverage and dfsan instrumentation. 2 3set(CMAKE_CXX_FLAGS 4 "${LIBFUZZER_FLAGS_BASE} -fno-sanitize=all -fsanitize=dataflow") 5 6set(DFSanTests 7 MemcmpTest 8 SimpleCmpTest 9 StrcmpTest 10 StrncmpTest 11 SwitchTest 12 ) 13 14foreach(Test ${DFSanTests}) 15 add_libfuzzer_test(${Test}-DFSan SOURCES ../${Test}.cpp) 16endforeach() 17 18# Propagate value into parent directory 19set(TestBinaries ${TestBinaries} PARENT_SCOPE) 20