|
From: | l ck |
Subject: | Program can't exit from the exeception |
Date: | Mon, 20 Jun 2022 15:03:13 +0000 |
Hi everyone, when I tried to run a exeception demo in netduino2, it can't exit from the exeception, in which after executing the assembly instruction `br lr`, it can't return back to the normal execution. This is the content after I executed `qemu-system-arm -M netduino2 -kernel demo.elf -d int` in terminal: ```shell Loaded reset SP 0x0 PC 0x0 from vector table Loaded reset SP 0x20001000 PC 0x12b from vector table Taking exception 5 [IRQ] on CPU 0 ...taking pending nonsecure exception 53 ...loading from element 53 of non-secure vector table at 0xd4 ...loaded new PC 0x1c1 Taking exception 8 [QEMU v7M exception exit] on CPU 0 Exception return: magic PC fffffff9 previous exception 53 ...tailchaining to pending exception ...taking pending nonsecure exception 53 ...loading from element 53 of non-secure vector table at 0xd4 ...loaded new PC 0x1c1 Taking exception 8 [QEMU v7M exception exit] on CPU 0 Exception return: magic PC fffffff9 previous exception 53 ...tailchaining to pending exception ...taking pending nonsecure exception 53 ...loading from element 53 of non-secure vector table at 0xd4 ...loaded new PC 0x1c1 ``` I wrote the demo based on those two commits [https://github.com/hac425xxx/qemu-fuzzing/commit/609538e1407de884f6c9e4d](https://github.com/hac425xxx/qemu-fuzzing/commit/609538e1407de884f6c9e4d) [https://github.com/hac425xxx/qemu-fuzzing/commit/7bc0e0aa35363c18fcf5b89d](https://github.com/hac425xxx/qemu-fuzzing/commit/7bc0e0aa35363c18fcf5b89d) Sent from Mail for Windows |
[Prev in Thread] | Current Thread | [Next in Thread] |