pub fn roundtrip(
setup: &SgxSetup,
at: i64,
to: i64,
extra: i64,
) -> Result<String, String>Expand description
Save states, proven complete (the base board’s trace::roundtrip, the reference’s
scripts/sgx_state.py): power on, run to frame at plus extra instructions, save, then
load the state into a fresh system and into one that had run elsewhere, and run each to frame
to: every frame after the save must be the same, by the gate’s own lines, and the loaded
system saved at once must give the same bytes.