-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add CFI to DPE #310
Add CFI to DPE #310
Conversation
aff01ae
to
a9020ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if I'm misunderstanding, but a general comment is it seems like the CFI codepaths may not really be tested here, since I don't think we implement cfi_panic_handler
anywhere in this repo. So any issues with final linking or something like that will only be caught once this is built into caliptra-sw.
But this PR is already fairly large, so maybe we should just open an issue for how to better test this inside of caliptra-dpe.
We are testing it since I added the dev-dependency caliptra-cfi-lib with the cfi-test feature. caliptra-cfi has a cfi_panic_handler and cfi_state for testing purposes behind the cfi-test feature. I confirmed that CFI codepaths are being hit in the CI too. |
Oh cool, thanks! |
No description provided.