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

Method trap_data

crates/wasmtime/src/runtime/code_memory.rs:365–367  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

363 /// slice if it wasn't found.
364 #[inline]
365 pub fn trap_data(&self) -> &[u8] {
366 &self.mmap[self.trap_data.clone()]
367 }
368
369 /// Returns the Wasm bytecode section end-offset for a given core
370 /// module, or `None` if no bytecode is present.

Callers 1

lookup_trap_codeMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected