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

Method image_range

crates/wasmtime/src/runtime/component/component.rs:727–729  ·  view source on GitHub ↗

Returns the range, in the host's address space, that this module's compiled code resides at. For more information see [`Module::image_range`](crate::Module::image_range).

(&self)

Source from the content-addressed store, hash-verified

725 /// For more information see
726 /// [`Module::image_range`](crate::Module::image_range).
727 pub fn image_range(&self) -> Range<*const u8> {
728 self.inner.code.image().as_ptr_range()
729 }
730
731 /// Force initialization of copy-on-write images to happen here-and-now
732 /// instead of when they're requested during first instantiation.

Callers 1

Calls 1

imageMethod · 0.45

Tested by

no test coverage detected