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

CHERI-RISC-V needs new vararg and memarg calling convention #745

Open
dpgao opened this issue Jul 2, 2024 · 1 comment
Open

CHERI-RISC-V needs new vararg and memarg calling convention #745

dpgao opened this issue Jul 2, 2024 · 1 comment

Comments

@dpgao
Copy link

dpgao commented Jul 2, 2024

Morello LLVM now passes varargs and memargs via a buffer pointed to by a capability register (https://git.morello-project.org/morello/llvm-project/-/merge_requests/204). This is needed for library-based compartmentalisation to function securely.

The same calling convention should be implemented for CHERI-RISC-V.

@jrtc27 jrtc27 changed the title RISC-V needs new vararg and memarg calling convention CHERI-RISC-V needs new vararg and memarg calling convention Jul 2, 2024
@rwatson
Copy link
Member

rwatson commented Jul 2, 2024

Tagging @arichardson who will be interested in this issue, as well as @brooksdavis and @gvnn3 for tracking purposes.

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

No branches or pull requests

3 participants