1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:17:34 +00:00

Lagom/Fuzzers: Add fuzzers for the new Gzip and Deflate compressors

This commit is contained in:
Luke 2021-03-13 23:45:22 +00:00 committed by Andreas Kling
parent d27e6f0961
commit c983e42e8c
6 changed files with 73 additions and 3 deletions

View file

@ -16,11 +16,13 @@ function(add_simple_fuzzer name)
endfunction()
add_simple_fuzzer(FuzzBMPLoader)
add_simple_fuzzer(FuzzDeflate)
add_simple_fuzzer(FuzzDeflateCompression)
add_simple_fuzzer(FuzzDeflateDecompression)
add_simple_fuzzer(FuzzELF)
add_simple_fuzzer(FuzzGemini)
add_simple_fuzzer(FuzzGIFLoader)
add_simple_fuzzer(FuzzGzip)
add_simple_fuzzer(FuzzGzipCompression)
add_simple_fuzzer(FuzzGzipDecompression)
add_simple_fuzzer(FuzzICOLoader)
add_simple_fuzzer(FuzzJPGLoader)
add_simple_fuzzer(FuzzPNGLoader)
@ -40,7 +42,7 @@ add_simple_fuzzer(FuzzURL)
add_simple_fuzzer(FuzzUTF16BEDecoder)
add_simple_fuzzer(FuzzRSAKeyParsing)
add_simple_fuzzer(FuzzWAVLoader)
add_simple_fuzzer(FuzzZlib)
add_simple_fuzzer(FuzzZlibDecompression)
if (NOT ENABLE_OSS_FUZZ)
set(CMAKE_EXE_LINKER_FLAGS "${ORIGINAL_CMAKE_EXE_LINKER_FLAGS} -fsanitize=address")