pub fn eval_with_epoch_deadline(
sandbox: &Sandbox,
source: &str,
ticks: u64,
) -> Result<i32>Expand description
Run Python source (FRESH interpreter) with a WALL-CLOCK epoch deadline of
ticks epoch increments.
This is the PRODUCTION DoS bound: paired with an
EpochTimer spawned on the sandbox’s
engine ticking every t, the guest traps with “interrupt” after roughly
ticks * t of wall time. The caller owns the timer; this fn does not start one.