MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / shared_memory_engine

Function shared_memory_engine

crates/fuzzing/tests/oom/shared_memory.rs:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4use wasmtime_fuzzing::oom::OomTest;
5
6fn shared_memory_engine() -> Result<Engine> {
7 let mut config = Config::new();
8 config.enable_compiler(false);
9 config.shared_memory(true);
10 Engine::new(&config)
11}
12
13#[test]
14fn shared_memory_new() -> Result<()> {

Callers 5

shared_memory_newFunction · 0.85
shared_memory_tyFunction · 0.85
shared_memory_sizeFunction · 0.85
shared_memory_growFunction · 0.85
shared_memory_data_sizeFunction · 0.85

Calls 3

enable_compilerMethod · 0.80
newFunction · 0.50
shared_memoryMethod · 0.45

Tested by

no test coverage detected