2 ms·
I wonder if google really never had this turned on before? Like this has been available in the C++ standard library for decades(normally as a debug feature to c
by TinkersW 2y ago
I wonder if google really never had this turned on before? Like this has been available in the C++ standard library for decades(normally as a debug feature to catch errors in development, but some implementations such as MS support it in release also).
Might explain why they claimed 70% of exploits were memory related..
- alpire 2y agoThe 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 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.