ladybird/Meta/Lagom/Fuzzers/FuzzURL.cpp

15 lines
293 B
C++
Raw Normal View History

2020-11-29 20:52:19 -03:00
/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
2020-11-29 20:52:19 -03:00
*/
#include <AK/URL.h>
2022-04-01 14:58:27 -03:00
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
2020-11-29 20:52:19 -03:00
{
auto string_view = StringView(data, size);
auto url = URL(string_view);
return 0;
}