Module wasmer_runtime_core_x::vm
source · Expand description
The runtime vm module contains data structures and helper functions used during runtime to execute wasm instance functions.
Structs§
- Caller-checked anyfunc
- The context of the currently running WebAssembly instance.
- Represents a function pointer. It is mostly used in the
typed_func
module within thewrap
functions, to wrap imported functions. - Represents a function context. It is used by imported functions only.
- Represents a function environment pointer, like a captured environment of a closure. It is mostly used in the
typed_func
module within thewrap
functions, to wrap imported functions. - The
ImportBacking
stores references to the imported resources of an Instance. This includes imported memories, tables, globals and functions. - An imported function is a function pointer associated to a function context.
- An internal field.
- A container for VM instrinsic functions
- The
LocalBacking
“owns” the memory used by all the local resources of an Instance. That is, local memories, tables, and globals (as well as some additional data for the virtual call machinery). - Definition of a global used by the VM.
- Definition of a memory used by the VM.
- Definition of a table used by the VM. (obviously)
- Identifier for a function signature.
Constants§
- Size of the array for internal instance usage
Statics§
- Imported dynamic memory intrinsics
- Imported static memory intrinsics
- Local dynamic memory intrinsics
- Local static memory intrinsics