[PATCH] DFSan-based fuzzer (proof of concept).
Kostya Serebryany
kcc at google.com
Mon Mar 30 13:15:57 PDT 2015
================
Comment at: lib/Fuzzer/test/CMakeLists.txt:21
@@ -20,3 +24,2 @@
add_executable(LLVMFuzzer-${Test}
- EXCLUDE_FROM_ALL
${Test}.cpp
----------------
samsonov wrote:
> Did you remove this line on purpose?
Yes. It is not needed any more due to
if( LLVM_USE_SANITIZE_COVERAGE ) in lib/Fuzzer/CMakeLists.txt
================
Comment at: lib/Fuzzer/test/dfsan/CMakeLists.txt:10
@@ +9,3 @@
+ )
+ target_link_libraries(LLVMFuzzer-${Test}
+ LLVMFuzzer
----------------
samsonov wrote:
> You probably need smth. like
> set(DFSAN_FUZZER_ABI_LIST "${CMAKE_CURRENT_SOURCE_DIR}/../../dfsan_fuzzer_abi.list")
> ...
>
> set_source_files_properties(${Test}.cpp PROPERTIES OBJECT_DEPENDS ${DFSAN_FUZZER_ABI_LIST})
>
> to make sure you will recompile the test after changes to ABI list.
Done, thanks!
http://reviews.llvm.org/D8669
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list