mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Fuzzers: Remove fuzzers for non-existent libraries
This commit is contained in:
parent
b82eaad274
commit
44c8d42157
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ancient-history/commit/44c8d42157
6 changed files with 0 additions and 102 deletions
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2023, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibDNS/Packet.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
auto packet_or_error = DNS::Packet::from_raw_packet({ data, size });
|
||||
if (packet_or_error.is_error())
|
||||
return 0;
|
||||
|
||||
(void)packet_or_error.release_value().to_byte_buffer();
|
||||
return 0;
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Kyle Pereira <hey@xylepereira.me>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibIMAP/Parser.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
auto parser = IMAP::Parser();
|
||||
parser.parse(ByteBuffer::copy(data, size).release_value(), true);
|
||||
parser.parse(ByteBuffer::copy(data, size).release_value(), false);
|
||||
return 0;
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Format.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <LibIMAP/QuotedPrintable.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
auto quoted_printable_string = StringView(static_cast<unsigned char const*>(data), size);
|
||||
(void)IMAP::decode_quoted_printable(quoted_printable_string);
|
||||
return 0;
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/StringView.h>
|
||||
#include <Shell/Shell.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
auto source = StringView(static_cast<unsigned char const*>(data), size);
|
||||
Shell::Parser parser(source);
|
||||
(void)parser.parse();
|
||||
return 0;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2023, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/StringView.h>
|
||||
#include <Shell/PosixParser.h>
|
||||
#include <Shell/Shell.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
auto source = StringView(static_cast<unsigned char const*>(data), size);
|
||||
Shell::Posix::Parser parser(source);
|
||||
(void)parser.parse();
|
||||
return 0;
|
||||
}
|
|
@ -5,7 +5,6 @@ set(FUZZER_TARGETS
|
|||
BMPLoader
|
||||
Brotli
|
||||
DDSLoader
|
||||
DNSPacket
|
||||
DeflateCompression
|
||||
DeflateDecompression
|
||||
ELF
|
||||
|
@ -18,7 +17,6 @@ set(FUZZER_TARGETS
|
|||
ICCProfile
|
||||
ICOLoader
|
||||
ILBMLoader
|
||||
IMAPParser
|
||||
JBIG2Loader
|
||||
JPEG2000Loader
|
||||
JPEGLoader
|
||||
|
@ -40,7 +38,6 @@ set(FUZZER_TARGETS
|
|||
PPMLoader
|
||||
QOALoader
|
||||
QOILoader
|
||||
QuotedPrintableParser
|
||||
RegexECMA262
|
||||
RegexPosixBasic
|
||||
RegexPosixExtended
|
||||
|
@ -49,8 +46,6 @@ set(FUZZER_TARGETS
|
|||
SHA256
|
||||
SHA384
|
||||
SHA512
|
||||
Shell
|
||||
ShellPosix
|
||||
SQLParser
|
||||
Tar
|
||||
TextDecoder
|
||||
|
@ -80,7 +75,6 @@ set(FUZZER_DEPENDENCIES_BMPLoader LibGfx)
|
|||
set(FUZZER_DEPENDENCIES_Brotli LibCompress)
|
||||
set(FUZZER_DEPENDENCIES_CSSParser LibWeb)
|
||||
set(FUZZER_DEPENDENCIES_DDSLoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_DNSPacket LibDNS)
|
||||
set(FUZZER_DEPENDENCIES_DeflateCompression LibCompress)
|
||||
set(FUZZER_DEPENDENCIES_DeflateDecompression LibCompress)
|
||||
set(FUZZER_DEPENDENCIES_ELF LibELF)
|
||||
|
@ -93,7 +87,6 @@ set(FUZZER_DEPENDENCIES_HttpRequest LibHTTP)
|
|||
set(FUZZER_DEPENDENCIES_ICCProfile LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_ICOLoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_ILBMLoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_IMAPParser LibIMAP)
|
||||
set(FUZZER_DEPENDENCIES_JBIG2Loader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_JPEG2000Loader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_JPEGLoader LibGfx)
|
||||
|
@ -114,7 +107,6 @@ set(FUZZER_DEPENDENCIES_Poly1305 LibCrypto)
|
|||
set(FUZZER_DEPENDENCIES_PPMLoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_QOALoader LibAudio)
|
||||
set(FUZZER_DEPENDENCIES_QOILoader LibGfx)
|
||||
set(FUZZER_DEPENDENCIES_QuotedPrintableParser LibIMAP)
|
||||
set(FUZZER_DEPENDENCIES_RegexECMA262 LibRegex)
|
||||
set(FUZZER_DEPENDENCIES_RegexPosixBasic LibRegex)
|
||||
set(FUZZER_DEPENDENCIES_RegexPosixExtended LibRegex)
|
||||
|
@ -123,8 +115,6 @@ set(FUZZER_DEPENDENCIES_SHA1 LibCrypto)
|
|||
set(FUZZER_DEPENDENCIES_SHA256 LibCrypto)
|
||||
set(FUZZER_DEPENDENCIES_SHA384 LibCrypto)
|
||||
set(FUZZER_DEPENDENCIES_SHA512 LibCrypto)
|
||||
set(FUZZER_DEPENDENCIES_Shell LibShell)
|
||||
set(FUZZER_DEPENDENCIES_ShellPosix LibShell)
|
||||
set(FUZZER_DEPENDENCIES_SQLParser LibSQL)
|
||||
set(FUZZER_DEPENDENCIES_Tar LibArchive)
|
||||
set(FUZZER_DEPENDENCIES_TextDecoder LibTextCodec)
|
||||
|
|
Loading…
Reference in a new issue