ladybird/Meta/Lagom/Fuzzers/FuzzWOFF.cpp
2022-04-09 23:48:18 +02:00

14 lines
320 B
C++

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