Line | Count | Source |
1 | // SPDX-License-Identifier: Apache-2.0 | |
2 | // SPDX-FileCopyrightText: 2019-2024 Second State INC | |
3 | ||
4 | #include "wasmedge/wasmedge.h" | |
5 | #include <stddef.h> | |
6 | ||
7 | /// Entrypoint for the fuzz tool. | |
8 | WASMEDGE_CAPI_EXPORT extern "C" int | |
9 | WasmEdge_Driver_FuzzTool(const uint8_t *Data, size_t Size); | |
10 | ||
11 | extern "C" [[gnu::visibility("default")]] int | |
12 | 9.30k | LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
13 | 9.30k | return WasmEdge_Driver_FuzzTool(Data, Size); |
14 | 9.30k | } |