mirror of
https://github.com/ish-app/ish.git
synced 2026-02-01 14:32:26 +00:00
Fix unicornomatic failures related to undefined flags
This commit is contained in:
parent
9815c76c36
commit
f6658cbb58
@ -92,6 +92,8 @@ int compare_cpus(struct cpu_state *cpu, struct tlb *tlb, uc_engine *uc, int unde
|
||||
debugger;
|
||||
return -1;
|
||||
}
|
||||
// sync up the flags so undefined flags won't error out next time
|
||||
uc_trycall(uc_reg_write(uc, UC_X86_REG_EFLAGS, ®s.eflags), "sync flags");
|
||||
|
||||
// compare pages marked dirty
|
||||
if (tlb->dirty_page != TLB_PAGE_EMPTY) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user