| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WASM_SECTION_FUZZERS_H_ | 5 #ifndef WASM_SECTION_FUZZERS_H_ |
| 6 #define WASM_SECTION_FUZZERS_H_ | 6 #define WASM_SECTION_FUZZERS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include "src/wasm/wasm-module.h" | 11 #include "src/wasm/wasm-module.h" |
| 12 | 12 |
| 13 int fuzz_wasm_section(v8::internal::wasm::WasmSection::Code section, | 13 int fuzz_wasm_section(v8::internal::wasm::WasmSectionCode section, |
| 14 const uint8_t* data, size_t size); | 14 const uint8_t* data, size_t size); |
| 15 | 15 |
| 16 #endif // WASM_SECTION_FUZZERS_H_ | 16 #endif // WASM_SECTION_FUZZERS_H_ |
| OLD | NEW |