About heap restriction in PPtr #1445
Replies: 5 comments
-
The next generation of Verus pointer support is something that is being actively worked on. The first step is to create a more precise model of pointers, which you can see in |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the explanation and the reference, @tjhance. Good to hear the news about verus's next generation pointer support! Is there any reason that you do not recommend using the APIs (e.g., |
Beta Was this translation helpful? Give feedback.
-
The simple reason is that it's still a work-in-progress. It doesn't have enough features to be useful. |
Beta Was this translation helpful? Give feedback.
-
@tjhance, raw pointers have been updated in #1244. Do you now recommend using |
Beta Was this translation helpful? Give feedback.
-
Yes. Unfortunately, they still don't support the feature requested by this issue. However, we are getting closer. |
Beta Was this translation helpful? Give feedback.
-
In the document about PPtr, it is mentioned that the target object should be allocated through heap.
However, in the low-level programming, many objects could be allocated without using heap.
Is there any way to circumvent the heap-related restriction in PPtr?
If one wants to use PPtr-like structure for the raw pointer not pointing to the heap, what is the biggest challenge to overcome?
It would be great if verus team support this feature: PPtr for non-heap objects.
Beta Was this translation helpful? Give feedback.
All reactions