mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Test that repeatedly stopping and starting results in executing exactly the same number of VM instructions
This commit is contained in:
parent
da7f186ff7
commit
3f21335fc3
2 changed files with 14 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue