diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-28 16:56:01 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-28 16:56:01 +0000 |
| commit | ca7192d984bfe92d295e3bb695d48b4b300e5673 (patch) | |
| tree | c2ec6241ae501b13a25d0596a6b9dd753f08cfdf /testfiles/CMakeLists.txt | |
| parent | Merge branch 'master' of gitlab.com:marcjeanmougin/inkscape (diff) | |
| download | inkscape-ca7192d984bfe92d295e3bb695d48b4b300e5673.tar.gz inkscape-ca7192d984bfe92d295e3bb695d48b4b300e5673.zip | |
add some doc
Diffstat (limited to 'testfiles/CMakeLists.txt')
| -rw-r--r-- | testfiles/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testfiles/CMakeLists.txt b/testfiles/CMakeLists.txt index 923898fc3..62b028729 100644 --- a/testfiles/CMakeLists.txt +++ b/testfiles/CMakeLists.txt @@ -32,7 +32,12 @@ foreach(source ${TEST_SOURCES}) endforeach() add_subdirectory(rendering_tests) + if(WITH_FUZZ) + # to use the fuzzer, make sure you use the right compiler (clang) + # with the right flags -fsanitize=address -fsanitize-coverage=edge,trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep -fno-omit-frame-pointer + # (see libfuzzer doc for info in flags) + # first line is for integration into oss-fuzz https://github.com/google/oss-fuzz add_executable(fuzz fuzzer.cpp) if(EXISTS ${LIB_FUZZING_ENGINE}) target_link_libraries(fuzz inkscape_base -lFuzzingEngine) |
