MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_module_validate

Function wasm_module_validate

src/wasm-c.cc:731–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729WASM_DEFINE_SHARABLE_REF(module, Module)
730
731bool wasm_module_validate(wasm_store_t* store, const wasm_byte_vec_t* binary) {
732 auto binary_ = borrow_byte_vec(binary);
733 return Module::validate(store, binary_.it);
734}
735
736wasm_module_t* wasm_module_new(
737 wasm_store_t* store, const wasm_byte_vec_t* binary

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected