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

Method code_section_offset

crates/wasmtime/src/runtime/instantiate.rs:269–271  ·  view source on GitHub ↗

Returns the offset of the code section in the original wasm file, used to calculate lookup values into the DWARF.

(&self)

Source from the content-addressed store, hash-verified

267 /// Returns the offset of the code section in the original wasm file, used
268 /// to calculate lookup values into the DWARF.
269 pub fn code_section_offset(&self) -> u64 {
270 self.code_section_offset
271 }
272}

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected