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

Method text

crates/wasmtime/src/runtime/module.rs:1083–1085  ·  view source on GitHub ↗

Get this module's code object's `.text` section, containing its compiled executable code.

(&self)

Source from the content-addressed store, hash-verified

1081 /// Get this module's code object's `.text` section, containing its compiled
1082 /// executable code.
1083 pub fn text(&self) -> &[u8] {
1084 self.engine_code().text()
1085 }
1086
1087 /// Get information about functions in this module's `.text` section: their
1088 /// index, name, and offset+length.

Callers

nothing calls this directly

Calls 1

engine_codeMethod · 0.45

Tested by

no test coverage detected