|
|
Subscribe / Log in / New account

Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

Posted Mar 21, 2022 19:31 UTC (Mon) by pm215 (subscriber, #98099)
In reply to: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul by wtarreau
Parent article: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

The parts of the article that talk about CHERI, on the other hand, are dealing with the real world of a computer that absolutely *is* distinguishing a pointer (which has the untamperable metadata saying it's a valid pointer) from an integer (which doesn't, even if the 64 bits of 'value' are the same, and will fault if you attempt to use it as a pointer)...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds