Test that repeatedly stopping and starting results in executing exactly the same number of VM instructions

This commit is contained in:
Toby Jaffey 2025-12-11 13:16:46 +00:00
parent da7f186ff7
commit 3f21335fc3
2 changed files with 14 additions and 4 deletions

View file

@ -149,6 +149,7 @@ uint32_t uvm32_run(uvm32_state_t *vmst, uvm32_evt_t *evt, uint32_t instr_meter)
if (instr_meter < min_instrs) {
instr_meter = min_instrs;
orig_instr_meter = min_instrs;
}
if (vmst->stack_canary != UVM32_NULL && *vmst->stack_canary != STACK_CANARY_VALUE) {