Re:Retrofitting spatial safety to lines of C++
by alpire on Saturday November 16, 2024 @11:52AM
(#42157367)
The hardening mode we enabled is quite recent added to libc++. It was proposed in 2022: https://discourse.llvm.org/t/rfc-c-buffer-hardening/65734. It was designed to run in prod, so it's quite fast. Previous debug modes I've seen came with a much higher costs, and therefore weren't (usually) enabled in prod.
Might explain why they claimed 70% of exploits were memory related..