[llvm] r236659 - [lib/Fuzzer] remove dfsan_fuzzer_abi.list -- its contents are now moved to dfsan proper
Kostya Serebryany
kcc at google.com
Wed May 6 15:47:25 PDT 2015
Author: kcc
Date: Wed May 6 17:47:24 2015
New Revision: 236659
URL: http://llvm.org/viewvc/llvm-project?rev=236659&view=rev
Log:
[lib/Fuzzer] remove dfsan_fuzzer_abi.list -- its contents are now moved to dfsan proper
Removed:
llvm/trunk/lib/Fuzzer/dfsan_fuzzer_abi.list
Modified:
llvm/trunk/lib/Fuzzer/FuzzerDFSan.cpp
llvm/trunk/lib/Fuzzer/test/dfsan/CMakeLists.txt
Modified: llvm/trunk/lib/Fuzzer/FuzzerDFSan.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerDFSan.cpp?rev=236659&r1=236658&r2=236659&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerDFSan.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerDFSan.cpp Wed May 6 17:47:24 2015
@@ -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
)
Removed: llvm/trunk/lib/Fuzzer/dfsan_fuzzer_abi.list
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/dfsan_fuzzer_abi.list?rev=236658&view=auto
==============================================================================
--- llvm/trunk/lib/Fuzzer/dfsan_fuzzer_abi.list (original)
+++ llvm/trunk/lib/Fuzzer/dfsan_fuzzer_abi.list (removed)
@@ -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
Modified: llvm/trunk/lib/Fuzzer/test/dfsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/dfsan/CMakeLists.txt?rev=236659&r1=236658&r2=236659&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/dfsan/CMakeLists.txt (original)
+++ llvm/trunk/lib/Fuzzer/test/dfsan/CMakeLists.txt Wed May 6 17:47:24 2015
@@ -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
)
More information about the llvm-commits
mailing list