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

Add parameter attributes for {deep,shallow} {immutable, no-capture} permissions. #4

Open
davidchisnall opened this issue Nov 24, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@davidchisnall
Copy link

The CHERIoT ISA has permissions that are intended to be useful to remove on call boundaries:

  • Store (make something shallow read-only)
  • LoadMutable (make something deep read-only)
  • Global (shallow no capture)
  • LoadGlobal (deep no capture)

We should add parameter attributes that allow these to be removed declaratively, especially on cross-compartment calls that don't. They should also add the relevant LLVM IR attributes to allow optimisation in the caller based on the properties that we're enforcing in hardware.

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

No branches or pull requests

1 participant