C can't do provenance
C can't do provenance
Posted Sep 29, 2024 10:43 UTC (Sun) by SLi (subscriber, #53131)In reply to: C can't do provenance by NYKevin
Parent article: Linus and Dirk on succession, Rust, and more
I do think "where the pointer came from" is a big part of it necessarily. Here's how Rust Unsafe Code Guidelines define it (it admits that "The exact form of provenance in Rust is unclear"):
https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#pointer-provenance
