You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler seems to think that if two capabilities compare equal then they can be substituted for each other. This would only be true if they had the same provenance (which they legally might not have in C; if one was a pointer to the byte past the last in an object, and the other a pointer to the first byte in an adjacent one).
The text was updated successfully, but these errors were encountered:
Example:
https://cheri-compiler-explorer.cl.cam.ac.uk/z/x4qW5n
The compiler seems to think that if two capabilities compare equal then they can be substituted for each other. This would only be true if they had the same provenance (which they legally might not have in C; if one was a pointer to the byte past the last in an object, and the other a pointer to the first byte in an adjacent one).
The text was updated successfully, but these errors were encountered: