1# These tests depend on both coverage and dfsan instrumentation. 2 3set(DFSAN_FUZZER_ABI_LIST "${CMAKE_CURRENT_SOURCE_DIR}/../../dfsan_fuzzer_abi.list") 4 5set(CMAKE_CXX_FLAGS_RELEASE 6 "${LIBFUZZER_FLAGS_BASE} -O0 -fno-sanitize=all -fsanitize=dataflow -mllvm -sanitizer-coverage-experimental-trace-compares=1 -fsanitize-blacklist=${DFSAN_FUZZER_ABI_LIST}") 7 8foreach(Test ${DFSanTests}) 9 set_source_files_properties(${Test}.cpp PROPERTIES OBJECT_DEPENDS ${DFSAN_FUZZER_ABI_LIST}) 10 add_executable(LLVMFuzzer-${Test} 11 ${Test}.cpp 12 ) 13 target_link_libraries(LLVMFuzzer-${Test} 14 LLVMFuzzer 15 ) 16endforeach() 17 18