mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCompress: Remove unused brotli decompression
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2022, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/MemoryStream.h>
|
||||
#include <LibCompress/Brotli.h>
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
FixedMemoryStream bufstream { { data, size } };
|
||||
|
||||
auto brotli_stream = Compress::BrotliDecompressionStream { MaybeOwned<Stream> { bufstream } };
|
||||
|
||||
(void)brotli_stream.read_until_eof();
|
||||
return 0;
|
||||
}
|
||||
@@ -3,7 +3,6 @@ set(FUZZER_TARGETS
|
||||
Base64Roundtrip
|
||||
BLAKE2b
|
||||
BMPLoader
|
||||
Brotli
|
||||
DeflateCompression
|
||||
DeflateDecompression
|
||||
GIFLoader
|
||||
@@ -47,7 +46,6 @@ endif()
|
||||
set(FUZZER_DEPENDENCIES_ASN1 LibCrypto LibTLS)
|
||||
set(FUZZER_DEPENDENCIES_BLAKE2b LibCrypto)
|
||||
set(FUZZER_DEPENDENCIES_BMPLoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_Brotli LibCompress)
|
||||
set(FUZZER_DEPENDENCIES_CSSParser LibWeb)
|
||||
set(FUZZER_DEPENDENCIES_DeflateCompression LibCompress)
|
||||
set(FUZZER_DEPENDENCIES_DeflateDecompression LibCompress)
|
||||
|
||||
@@ -2,8 +2,6 @@ shared_library("LibCompress") {
|
||||
output_name = "compress"
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
sources = [
|
||||
"Brotli.cpp",
|
||||
"BrotliDictionary.cpp",
|
||||
"Deflate.cpp",
|
||||
"Gzip.cpp",
|
||||
"Lzma.cpp",
|
||||
|
||||
Reference in New Issue
Block a user