3 ms·
> Sanitizers are a game changer, they bring C++ closer to languages like Java and Rust. This is a stretch, IMO. I suppose it is ever-so-slightly-closer. > Th
by wyldfire 7y ago
> Sanitizers are a game changer, they bring C++ closer to languages like Java and Rust.
This is a stretch, IMO. I suppose it is ever-so-slightly-closer.
> They do not bring the safety to production, since you probably do not want to use sanitizers in production or release
You're right, they're not intended for use in production -- until now! ARM dedicated some virtual address bits to tagging memory [1][2][3] for ARMv8 so that we can have sanitizers in hardware. Imagine: chrome on your smartphone being protected!
[1] https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile https://developer.arm.com/docs/ddi0487/latest/arm-architectu...
[2] https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html https://clang.llvm.org/docs/HardwareAssistedAddressSanitizer...
[3] https://arxiv.org/abs/1802.09517 https://arxiv.org/abs/1802.09517