[][src]Crate lucet_runtime_internals

lucet-runtime is a library for loading, running, and monitoring ahead-of-time compiled WebAssembly modules in lightweight sandboxes. It is intended to work with modules compiled by lucetc.

Modules

alloc
c_api
context
embed_ctx
error
hostcall_macros
instance
module
region
sysdeps
val

Typed values for passing into and returning from sandboxed programs.

vmctx

Interfaces for accessing instance data from hostcalls.

Macros

alloc_tests
assert_nonnull
bail_limits_exceeded
lucet_bail
lucet_ensure
lucet_format_err
lucet_hostcall_terminate

Terminate an instance from within a hostcall, returning an optional value as an error.

lucet_hostcallsDeprecated

The macro that surrounds definitions of Lucet hostcalls in Rust.

lucet_incorrect_module
sparse_page_data_tests
with_ffi_arcs

Wrap up the management of Arcs that go across the FFI boundary.

Constants

WASM_PAGE_SIZE

The size of a page in WebAssembly heaps.

Attribute Macros

lucet_hostcall

This attribute generates a Lucet hostcall from a standalone Rust function that takes a &mut Vmctx as its first argument.