[lib/Fuzzer] remove dfsan_fuzzer_abi.list -- its contents are now moved to dfsan...
authorKostya Serebryany <kcc@google.com>
Wed, 6 May 2015 22:47:24 +0000 (22:47 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 6 May 2015 22:47:24 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236659 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/FuzzerDFSan.cpp
lib/Fuzzer/dfsan_fuzzer_abi.list [deleted file]
lib/Fuzzer/test/dfsan/CMakeLists.txt

index 16f8c0fa3d7100c4a03a49884657d7599f9099ae..cd6ec3fb3c4a446e0456dfee54fd1c13e7a3cf19 100644 (file)
@@ -59,7 +59,7 @@
   clang  -fPIC -c -g -O2 -std=c++11 Fuzzer*.cpp
   clang++ -O0 -std=c++11 -fsanitize-coverage=3  \
     -mllvm -sanitizer-coverage-experimental-trace-compares=1 \
-    -fsanitize=dataflow -fsanitize-blacklist=./dfsan_fuzzer_abi.list  \
+    -fsanitize=dataflow \
     test/dfsan/DFSanSimpleCmpTest.cpp Fuzzer*.o
   ./a.out
 )
diff --git a/lib/Fuzzer/dfsan_fuzzer_abi.list b/lib/Fuzzer/dfsan_fuzzer_abi.list
deleted file mode 100644 (file)
index 6cc6843..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
-fun:__sanitizer_cov_trace_cmp=custom
-fun:__sanitizer_cov_trace_cmp=uninstrumented
-
-# Ignores coverage callbacks.
-fun:__sanitizer_cov=uninstrumented
-fun:__sanitizer_cov=discard
-fun:__sanitizer_cov_module_init=uninstrumented
-fun:__sanitizer_cov_module_init=discard
-
-# Don't add extra parameters to the Fuzzer callback.
-fun:LLVMFuzzerTestOneInput=uninstrumented
index b5b874fb1ce8d42d6c9638c786fa997cb5c40445..f92fde9bcacde939e0b719c48fcdb930f1ddee4e 100644 (file)
@@ -1,12 +1,9 @@
 # These tests depend on both coverage and dfsan instrumentation.
 
-set(DFSAN_FUZZER_ABI_LIST "${CMAKE_CURRENT_SOURCE_DIR}/../../dfsan_fuzzer_abi.list")
-
 set(CMAKE_CXX_FLAGS_RELEASE
-  "${LIBFUZZER_FLAGS_BASE} -O0 -fno-sanitize=all -fsanitize=dataflow -mllvm -sanitizer-coverage-experimental-trace-compares=1 -fsanitize-blacklist=${DFSAN_FUZZER_ABI_LIST}")
+  "${LIBFUZZER_FLAGS_BASE} -O0 -fno-sanitize=all -fsanitize=dataflow -mllvm -sanitizer-coverage-experimental-trace-compares=1")
 
 foreach(Test ${DFSanTests})
-  set_source_files_properties(${Test}.cpp PROPERTIES OBJECT_DEPENDS ${DFSAN_FUZZER_ABI_LIST})
   add_executable(LLVMFuzzer-${Test}
     ${Test}.cpp
     )