Skip to main content

run_recompiler_raw

Function run_recompiler_raw 

Source
pub fn run_recompiler_raw(built: &BuiltCaps) -> RawRun
Expand description

Recompiler run with no clean-halt assertion (cf. run_recompiler).

On a guest abort (e.g. #DE), invoke_cached returns Err and the sandbox is poisoned; we report ABORT_SENTINEL and do not rebuild it (rebuilding was the source of the host-heap corruption). A caller that hits an abort should stop — every subsequent invoke on the poisoned sandbox also returns ErrABORT_SENTINEL. (For valid PVM2 code no abort occurs, so long differential sweeps run uninterrupted.)