[Testing] Get tests running (dirty hack for linux)

This commit is contained in:
Herman S.
2025-10-14 14:19:12 +09:00
parent 14c2814654
commit 09a15fbedc
13 changed files with 209 additions and 46 deletions

View File

@@ -1185,7 +1185,12 @@ static bool IsPossibleMMIOInstruction(X64Emitter& e, const hir::Instr* i) {
return false;
}
auto flags = e.GuestModule()->GetInstructionAddressFlags(guestaddr);
auto guest_module = e.GuestModule();
if (!guest_module) {
return false;
}
auto flags = guest_module->GetInstructionAddressFlags(guestaddr);
return flags && flags->accessed_mmio;
}