1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00
ladybird/Meta/Lagom/Fuzzers/FuzzWOFF2.cpp
2023-10-24 13:45:01 +02:00

14 lines
322 B
C++

/*
* Copyright (c) 2023, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGfx/Font/WOFF2/Font.h>
#include <stddef.h>
extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size)
{
(void)WOFF2::Font::try_load_from_externally_owned_memory({ data, size });
return 0;
}