diff options
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzilliJs.dockerfile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Meta/Lagom/Fuzzers/CMakeLists.txt b/Meta/Lagom/Fuzzers/CMakeLists.txt index 6fa8da4750..fcca4e55df 100644 --- a/Meta/Lagom/Fuzzers/CMakeLists.txt +++ b/Meta/Lagom/Fuzzers/CMakeLists.txt @@ -1,7 +1,7 @@ function(add_simple_fuzzer name) add_executable(${name} "${name}.cpp") - if (ENABLE_OSS_FUZZ) + if (ENABLE_FUZZERS_OSSFUZZ) target_link_libraries(${name} PUBLIC ${ARGN} LagomCore) else() @@ -63,7 +63,7 @@ add_simple_fuzzer(FuzzWasmParser LagomWasm) add_simple_fuzzer(FuzzZip LagomArchive) add_simple_fuzzer(FuzzZlibDecompression LagomCompress) -if (NOT ENABLE_OSS_FUZZ) +if (NOT ENABLE_FUZZERS_OSSFUZZ) set(CMAKE_EXE_LINKER_FLAGS "${ORIGINAL_CMAKE_EXE_LINKER_FLAGS} -fsanitize=address") set(CMAKE_SHARED_LINKER_FLAGS "${ORIGINAL_CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address") set(CMAKE_MODULE_LINKER_FLAGS "${ORIGINAL_CMAKE_MODULE_LINKER_FLAGS} -fsanitize=address") diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.dockerfile b/Meta/Lagom/Fuzzers/FuzzilliJs.dockerfile index abbf2ebc7e..2370e2fd90 100644 --- a/Meta/Lagom/Fuzzers/FuzzilliJs.dockerfile +++ b/Meta/Lagom/Fuzzers/FuzzilliJs.dockerfile @@ -39,7 +39,7 @@ RUN sed -i 's/-Wmissing-declarations //' ../CMakeLists.txt RUN CXXFLAGS="-Wno-defaulted-function-deleted" \ cmake -GNinja \ -DBUILD_LAGOM=ON \ - -DENABLE_FUZZER_SANITIZER=ON \ + -DENABLE_FUZZERS_LIBFUZZER=ON \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ .. |