mirror of
https://github.com/RGBCube/serenity
synced 2025-06-12 01:52:08 +00:00
15 lines
355 B
C++
15 lines
355 B
C++
/*
|
|
* Copyright (c) 2023, Nico Weber <thakis@chromium.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibGfx/ICC/Profile.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
|
{
|
|
(void)Gfx::ICC::Profile::try_load_from_externally_owned_memory({ data, size });
|
|
return 0;
|
|
}
|