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

cheribsdtest: Add tests for global function pointers that are cast to integers #2299

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

dpgao
Copy link
Contributor

@dpgao dpgao commented Jan 26, 2025

Also increases the length of signal_returncap under c18n in anticipation of default-wrapped function pointers.

dpgao added 2 commits January 26, 2025 16:14
When library-based compartmentalisation causes every function pointer to
be wrapped in a trampoline, signal handlers return back to a trampoline
rather than sigcode. The length return address capability is thus
increased to account for this.
@dpgao dpgao requested a review from jrtc27 January 27, 2025 12:42
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.

1 participant