Index: test/fuzzer/wasm-section-fuzzers.h |
diff --git a/test/fuzzer/wasm-section-fuzzers.h b/test/fuzzer/wasm-section-fuzzers.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f09544112eb166f0f6b32ce1fbc3511e8b4807b8 |
--- /dev/null |
+++ b/test/fuzzer/wasm-section-fuzzers.h |
@@ -0,0 +1,16 @@ |
+// Copyright 2016 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WASM_SECTION_FUZZERS_H_ |
+#define WASM_SECTION_FUZZERS_H_ |
+ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
+#include "src/wasm/wasm-module.h" |
+ |
+int fuzz_wasm_section(v8::internal::wasm::WasmSection::Code section, |
+ const uint8_t* data, size_t size); |
+ |
+#endif // WASM_SECTION_FUZZERS_H_ |