From d83fd594910d5dc90a1c0cb566bd56bfc9a8a824 Mon Sep 17 00:00:00 2001 From: kabeor Date: Fri, 7 Oct 2022 11:05:14 +0800 Subject: [PATCH] Fix: speed up MCU interrupt handler --- qiling/arch/cortex_m.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiling/arch/cortex_m.py b/qiling/arch/cortex_m.py index 72c7e59be..382a8b8f6 100644 --- a/qiling/arch/cortex_m.py +++ b/qiling/arch/cortex_m.py @@ -163,4 +163,4 @@ def interrupt_handler(self, ql, intno): self.regs.write('pc', entry) self.regs.write('lr', exc_return) - self.uc.emu_start(self.effective_pc, 0, 0, 0) + self.uc.emu_start(self.effective_pc, 0, 0, 0xffffff)