Skip to main content

Module context

Module context 

Source
Expand description

Thread-local exploration context and RNG hooks.

Stores per-process exploration state and the function pointers used to communicate with moonpool-sim’s RNG system. The RNG hooks are the entire coupling surface between this crate and moonpool-sim.

Structs§

ExplorerCtx
Exploration state for the current process.

Functions§

explorer_is_active
Check if exploration is active.
explorer_is_child
Check if this process is a forked child.
get_assertion_table_ptr
Get the raw pointer to the assertion table shared memory.
set_rng_hooks
Set the RNG hooks used to communicate with moonpool-sim.