GP-1529: Interrupt emulator when decoding uninitialized memory

This commit is contained in:
Dan 2023-03-29 16:36:17 -04:00
parent 738e662e82
commit 4aa54dd1f9
25 changed files with 274 additions and 100 deletions

View file

@ -802,8 +802,10 @@ public class Disassembler implements DisassemblerConflictHandler {
disassembleInstructionBlock(block, blockMemBuffer, null, limit, null, false);
}
catch (Exception e) {
Msg.error(this, "Pseudo block disassembly failure at " + blockMemBuffer.getAddress() +
": " + e.getMessage(), e);
String message = "Pseudo block disassembly failure at " + blockMemBuffer.getAddress() +
": " + e.getMessage();
Msg.error(this, message, e);
reportMessage(message);
}
finally {