Skip to content

Conversation

josephproject1
Copy link

A capability data_cap for memory region (an array data), with both load (read) and store (write) permissions.
After some read and write operations, we could simulate some vulnerability detection.
cheri_set_perms could be used to revoke for example, some permissions from data_cap.
Therefore, after this revocation, any attempt to write to the memory by cap_ptr, would trigger a capability violation exception. However, read access remains allowed and can read from memory using same capability.

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