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

Method text_range

crates/wasmtime/src/runtime/code.rs:162–165  ·  view source on GitHub ↗

Give the range of engine-code PCs in this code.

(&self)

Source from the content-addressed store, hash-verified

160
161 /// Give the range of engine-code PCs in this code.
162 pub fn text_range(&self) -> Range<EngineCodePC> {
163 let raw = self.original_code.raw_addr_range();
164 EngineCodePC(raw.start)..EngineCodePC(raw.end)
165 }
166
167 // For all accessors to code object sections below: we can use the
168 // original (uncloned) code image for these: they are just slices

Callers 7

newMethod · 0.80
loaded_code_by_pcMethod · 0.80
store_code_baseMethod · 0.80
registerMethod · 0.80
test_frame_infoFunction · 0.80
compute_handlerFunction · 0.80

Calls 2

raw_addr_rangeMethod · 0.80
code_memoryMethod · 0.80

Tested by 1

test_frame_infoFunction · 0.64