Line | Count | Source |
1 | /* | |
2 | * Copyright (c) 2020, the SerenityOS developers. | |
3 | * | |
4 | * SPDX-License-Identifier: BSD-2-Clause | |
5 | */ | |
6 | ||
7 | #include <LibELF/Image.h> | |
8 | #include <stddef.h> | |
9 | #include <stdint.h> | |
10 | ||
11 | extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) | |
12 | 90.3k | { |
13 | 90.3k | AK::set_debug_enabled(false); |
14 | 90.3k | ELF::Image elf(data, size, /*verbose_logging=*/false); |
15 | 90.3k | return 0; |
16 | 90.3k | } |