Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lesson 5] Erroneous extra save of registers in el0_sync. #265

Open
awbiggerstaff opened this issue May 9, 2024 · 0 comments
Open

[Lesson 5] Erroneous extra save of registers in el0_sync. #265

awbiggerstaff opened this issue May 9, 2024 · 0 comments

Comments

@awbiggerstaff
Copy link

In the el0_sync code, for the case where it is not an svc request, the handle_invalid_entry macro is included. This results in the kernel_entry macro being included again, and the registers being saved again, with register corruption.

If, like me, you're implementing a debugger using a BRK instruction, you've got register corruption after proceeding from a breakpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant