Line | Count | Source |
1 | /* | |
2 | * Copyright (c) 2023, Nico Weber <thakis@chromium.org> | |
3 | * | |
4 | * SPDX-License-Identifier: BSD-2-Clause | |
5 | */ | |
6 | ||
7 | #include <LibGfx/ICC/Profile.h> | |
8 | #include <stddef.h> | |
9 | #include <stdint.h> | |
10 | ||
11 | extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) | |
12 | 95.6k | { |
13 | 95.6k | AK::set_debug_enabled(false); |
14 | 95.6k | (void)Gfx::ICC::Profile::try_load_from_externally_owned_memory({ data, size }); |
15 | 95.6k | return 0; |
16 | 95.6k | } |