summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzURL.cpp
blob: 4c006bd340eff2dff93c18024b8129cb4bc8579b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (c) 2020, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <AK/URL.h>

extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{
    auto string_view = StringView(data, size);
    auto url = URL(string_view);
    return 0;
}