Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 1db3304fb270bc5206fe4c29973e3df48e2baf44..366cca9d340431e7751d191b76b6014f93ebb39e 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -398,6 +398,11 @@ V8_EXPORT_PRIVATE MaybeHandle<JSObject> CreateModuleObjectFromBytes( |
Isolate* isolate, const byte* start, const byte* end, ErrorThrower* thrower, |
ModuleOrigin origin); |
+V8_EXPORT_PRIVATE bool ValidateModuleBytes(Isolate* isolate, const byte* start, |
+ const byte* end, |
+ ErrorThrower* thrower, |
+ ModuleOrigin origin); |
+ |
// Get the number of imported functions for a WASM instance. |
uint32_t GetNumImportedFunctions(Handle<JSObject> wasm_object); |