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

[CHERIoT] Allow __cheri_libcall annotations on function pointers. #67

Closed
wants to merge 1 commit into from

Conversation

resistor
Copy link
Collaborator

Fixes #16

@davidchisnall
Copy link

I’m not sure this makes sense. A libcall follows the same calling convention as other function pointers. The libcall definition applies to how you do direct calls (must go via import table), but taking the address of a libcall function should give an unqualified function pointer.

@resistor resistor closed this Dec 16, 2024
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

Successfully merging this pull request may close these issues.

Qualifier __cheri_libcall causes compilation failure when used in function pointers
2 participants