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

Method slot_addr

crates/wasmtime/src/runtime/debug.rs:751–754  ·  view source on GitHub ↗
(&self, fp: usize)

Source from the content-addressed store, hash-verified

749 }
750
751 fn slot_addr(&self, fp: usize) -> *mut u8 {
752 let fp: *mut u8 = core::ptr::with_exposed_provenance_mut(fp);
753 fp.wrapping_sub(self.slot_to_fp_offset)
754 }
755}
756
757/// Read the value at the given offset.

Callers 3

raw_instanceMethod · 0.80
localMethod · 0.80
stackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected