News for hackers. Stuff that matters.
Re:RFC: C++ Buffer Hardening by pabs3 on Thursday October 06, 2022 @05:28AM (#33106266)
Perhaps you could keep ABI compatible using with versioned symbols?
Re:RFC: C++ Buffer Hardening by gpderetta on Thursday October 06, 2022 @05:55AM (#33106390)
If the functions are separate overloads there is no need of versioning in the first place.

On the other hand if you change the layout of structures (like it would be the case for bound checked pointers), it is much much harder. GCC has ABI tags, but they only help a bit.

In any case nobody is going to bound check iterators by default, these already exists when using whatever debug standard library your compiler provides and they are orders of magnitude slower than unchecked iterators.