/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { ReadonlyBytes bytes { data, size }; InputMemoryStream stream { bytes }; [[maybe_unused]] auto result = Wasm::Module::parse(stream); stream.handle_any_error(); return 0; }