[][src]Module lucet_runtime_internals::module

Structs

AddrDetails

Details about a program address.

DlModule

A Lucet module backed by a dynamically-loaded shared object.

FunctionHandle
FunctionIndex

FunctionIndex is an identifier for a function, imported, exported, or external. The space of FunctionIndex is shared for all of these, so FunctionIndex(N) may identify exported function #2, FunctionIndex(N + 1) may identify an internal function, and FunctionIndex(N + 2) may identify an imported function.

FunctionPointer

FunctionPointer serves entirely as a safer way to work with function pointers than as raw u64 or usize values. It also avoids the need to write them as fn types, which cannot be freely cast from one to another with as. If you need to call a FunctionPointer, use as_usize() and transmute the resulting usize to a fn type with appropriate signature.

FunctionSpec
GlobalSpec

A WebAssembly global along with its export specification.

HeapSpec

Specifications about the heap of a Lucet module.

MockExportBuilder
MockModuleBuilder
Signature

A signature for a function in a wasm module.

TableElement
TrapManifest

A collection of trap sites, typically obtained from a single function (see FunctionSpec::traps)

Enums

Global

A WebAssembly global is either defined locally, or is defined in relation to a field of another WebAssembly module.

TrapCode

The type of a WebAssembly trap.

ValueType

Traits

Module

The read-only parts of a Lucet program, including its code and initial heap configuration.

ModuleInternal

Unions

GlobalValue