Skip to main content

Module host_fn_error

Module host_fn_error 

Source
Expand description

The mocked syscall entrypoint bridging guest syscalls to the test FFI.

Functions§

perform_mocked_syscall
Perform one guest syscall against the mocked FFI handler, returning its result code. Host-side terminations unwind with the matching crate::invoke_error payload instead of returning.
syscall_wrapper_impl
The symbol thruput-xdr’s syscalls_mock extern declaration links against; forwards to perform_mocked_syscall.