Pointer permission syntax #836
Closed
pieter-bos
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What should be the syntax for the location in a permission assertion about pointers?
p
&p
*p
p
p[i]
&p[i]
*(p+i)
p+i
Implementation-wise the pointer value is much easier, since it does not require introspecting the different kinds of dereferencing (subscript, deref)
Beta Was this translation helpful? Give feedback.
All reactions