4 ms·
It's called AddressSanitizer. You enable it with the compiler flag -fsanitize=address. It's supported by clang, gcc and lately MSVC.
by scatters 6y ago
It's called AddressSanitizer. You enable it with the compiler flag -fsanitize=address. It's supported by clang, gcc and lately MSVC.
- rkeene2 6y agoYou shouldn't use ASan in release builds since it may have exploitable vulnerabilities.
- saagarjha 6y agoAddress Sanitizer is not perfect, nor is it suitable to ship in production.
- kevingadd 6y agoAsan binaries should never be shipped in security sensitive environments. It's not designed for that. It's unsafe.
- pjmlp 6y agoAnd used by around 36% of developers that bother to answer surveys.