/src/WasmEdge/tools/fuzz/po.cpp
Line | Count | Source |
1 | | // SPDX-License-Identifier: Apache-2.0 |
2 | | // SPDX-FileCopyrightText: Copyright The WasmEdge Authors |
3 | | |
4 | | #include "wasmedge/wasmedge.h" |
5 | | #include <stddef.h> |
6 | | |
7 | | /// Entry point for the fuzz PO library. |
8 | | WASMEDGE_CAPI_EXPORT extern "C" int WasmEdge_Driver_FuzzPO(const uint8_t *Data, |
9 | | size_t Size); |
10 | | |
11 | | extern "C" [[gnu::visibility("default")]] int |
12 | 11.0k | LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
13 | 11.0k | return WasmEdge_Driver_FuzzPO(Data, Size); |
14 | 11.0k | } |