summaryrefslogtreecommitdiff
path: root/deps/v8/test/fuzzer/wasm-fuzzer-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/fuzzer/wasm-fuzzer-common.h')
-rw-r--r--deps/v8/test/fuzzer/wasm-fuzzer-common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/fuzzer/wasm-fuzzer-common.h b/deps/v8/test/fuzzer/wasm-fuzzer-common.h
index 17bc70e91c..34b6e58479 100644
--- a/deps/v8/test/fuzzer/wasm-fuzzer-common.h
+++ b/deps/v8/test/fuzzer/wasm-fuzzer-common.h
@@ -17,8 +17,6 @@ namespace internal {
namespace wasm {
namespace fuzzer {
-int FuzzWasmSection(SectionCode section, const uint8_t* data, size_t size);
-
// First instantiates and interprets the "main" function within module_object if
// possible. If the interpretation finishes within kMaxSteps steps,
// module_object is instantiated again and the compiled "main" function is
@@ -32,7 +30,9 @@ void GenerateTestCase(Isolate* isolate, ModuleWireBytes wire_bytes,
class WasmExecutionFuzzer {
public:
virtual ~WasmExecutionFuzzer() = default;
- int FuzzWasmModule(Vector<const uint8_t> data, bool require_valid = false);
+ void FuzzWasmModule(Vector<const uint8_t> data, bool require_valid = false);
+
+ virtual size_t max_input_size() const { return 512; }
protected:
virtual bool GenerateModule(