Line data Source code
1 : // Copyright 2016 the V8 project authors. All rights reserved.
2 : // Use of this source code is governed by a BSD-style license that can be
3 : // found in the LICENSE file.
4 :
5 : #include "src/objects-inl.h"
6 : #include "test/fuzzer/wasm-fuzzer-common.h"
7 :
8 1 : extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
9 : // TODO(titzer): Names section requires a preceding function section.
10 : return v8::internal::wasm::fuzzer::FuzzWasmSection(
11 1 : v8::internal::wasm::kNameSectionCode, data, size);
12 : }
|