ladybird/Meta/Lagom/Fuzzers/FuzzURL.cpp
2022-04-01 21:24:45 +01:00

14 lines
293 B
C++

/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/URL.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
auto string_view = StringView(data, size);
auto url = URL(string_view);
return 0;
}