News for hackers. Stuff that matters.
Re:-fbounds-safety: Enforcing bounds safety for C by wyldfire on Thursday February 19, 2026 @09:06AM (#47073858)
You need to annotate your program with indications of what variable tracks the size of the allocation. So, sure, but first work on the packages in the distro.

Note that corresponding checks for C++ library containers can be enabled without modifying the source. Google measured some very small overhead (< 0.5% IIRC) so they turned it on in production. But I'd expect an OS distro to be mostly C.

[1] https://libcxx.llvm.org/Hardening.html

There are no comments on this comment yet.