Skip to content

Commit

Permalink
fix sbe nondeterminism
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Mar 11, 2024
1 parent 6dc2ddc commit 7d3e18d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panda/src/cb-support.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ MAKE_CALLBACK(void, END_BLOCK_EXEC, end_block_exec,

// Non-macroized version for SBE - if panda_please_retranslate is set, we'll break
void PCB(start_block_exec)(CPUState *cpu, TranslationBlock *tb) {
if (unlikely(panda_exit_loop)){
return;
}
panda_cb_list *plist;
for (plist = panda_cbs[PANDA_CB_START_BLOCK_EXEC]; plist != NULL; plist = panda_cb_list_next(plist)) {
if (plist->enabled)
Expand Down

0 comments on commit 7d3e18d

Please sign in to comment.