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

Method base

pulley/src/interp.rs:799–801  ·  view source on GitHub ↗

Returns a pointer to the base of the stack (the lowest address). Note that the returned pointer has provenance for the entire stack allocation, however, not just the top.

(&mut self)

Source from the content-addressed store, hash-verified

797 /// Note that the returned pointer has provenance for the entire stack
798 /// allocation, however, not just the top.
799 fn base(&mut self) -> *mut u8 {
800 self.storage.as_mut_ptr().cast::<u8>()
801 }
802
803 /// Returns the length, in bytes, of this stack allocation.
804 fn len(&self) -> usize {

Callers 3

topMethod · 0.45
set_spMethod · 0.45
set_sp_uncheckedMethod · 0.45

Calls 1

as_mut_ptrMethod · 0.45

Tested by

no test coverage detected