blob: a4214857f20411233054a28b8180b361e76086ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibTTF/Font.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size)
{
(void)TTF::Font::try_load_from_externally_owned_memory({ data, size });
return 0;
}
|