diff options
Diffstat (limited to 'lib/Fuzzer/test/CMakeLists.txt')
-rw-r--r-- | lib/Fuzzer/test/CMakeLists.txt | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/lib/Fuzzer/test/CMakeLists.txt b/lib/Fuzzer/test/CMakeLists.txt index a9acec15d4d3..674fcc3c9f8c 100644 --- a/lib/Fuzzer/test/CMakeLists.txt +++ b/lib/Fuzzer/test/CMakeLists.txt @@ -5,26 +5,41 @@ set(CMAKE_CXX_FLAGS_RELEASE "${LIBFUZZER_FLAGS_BASE} -O0 -fsanitize-coverage=edge,indirect-calls") set(DFSanTests - DFSanMemcmpTest - DFSanSimpleCmpTest + MemcmpTest + SimpleCmpTest + StrcmpTest + StrncmpTest + SwitchTest ) set(Tests + CallerCalleeTest CounterTest - CxxTokensTest FourIndependentBranchesTest FullCoverageSetTest - InfiniteTest + MemcmpTest NullDerefTest + SimpleCmpTest + SimpleDictionaryTest + SimpleHashTest SimpleTest + StrcmpTest + StrncmpTest + SwitchTest TimeoutTest - ${DFSanTests} ) set(CustomMainTests UserSuppliedFuzzerTest ) +set(UninstrumentedTests + UninstrumentedTest + ) + +set(TraceBBTests + SimpleTest + ) set(TestBinaries) @@ -80,6 +95,17 @@ foreach(Test ${DFSanTests}) set(TestBinaries ${TestBinaries} LLVMFuzzer-${Test}-DFSan) endforeach() +add_subdirectory(uninstrumented) + +foreach(Test ${UninstrumentedTests}) + set(TestBinaries ${TestBinaries} LLVMFuzzer-${Test}-Uninstrumented) +endforeach() + +add_subdirectory(trace-bb) + +foreach(Test ${TraceBBTests}) + set(TestBinaries ${TestBinaries} LLVMFuzzer-${Test}-TraceBB) +endforeach() set_target_properties(${TestBinaries} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |