|
|
|
|
|
by afdbcreid
49 days ago
|
|
Can you roundtrip a pointer as `MaybeUninit<usize>`? This is implied by this statement (and other rules of the language). And people rely on it. You can make CHERI a non-conforming target. In fact we already have some (did you know x86-32 is a non-conforming target?). This is one of the leading options. The question is whether we don't give up too much existing code by that. No existing target is that incompatible. |
|
AIUI Strict Provenance rules imply that you can't expect any such tricks to work unless the target promised they would work.
You say "People rely on it" and I must ask: How many people and how sure are you that they actually can't live with Strict Provenance ?