[][src]Module lucet_runtime::c_api

Functions

ensure_linked

Should never actually be called, but should be reachable via a trait method to prevent DCE.

lucet_dl_module_load
lucet_dl_module_release
lucet_error_name
lucet_instance_check_heap
lucet_instance_embed_ctx
lucet_instance_grow_heap
lucet_instance_heap
lucet_instance_heap_len
lucet_instance_release
lucet_instance_reset
lucet_instance_resume
lucet_instance_run
lucet_instance_run_func_idx
lucet_instance_set_fatal_handler
lucet_instance_set_signal_handler

Release or run* must not be called in the body of this function!

lucet_mmap_region_create
lucet_region_new_instance
lucet_region_new_instance_with_ctx
lucet_region_release
lucet_result_tag_name
lucet_retval_f32
lucet_retval_f64
lucet_retval_gp
lucet_vmctx_check_heap

Check if a memory region is inside the instance heap.

lucet_vmctx_current_memory

Get the number of WebAssembly pages currently in the heap.

lucet_vmctx_get_delegate

Get the delegate object for the current instance.

lucet_vmctx_get_func_from_idx
lucet_vmctx_get_globals
lucet_vmctx_get_heap
lucet_vmctx_grow_memory

Grows the guest heap by the given number of WebAssembly pages.

lucet_vmctx_terminate
lucet_vmctx_yield

TODO: C implementations of hostcalls are highly questionable