Y
Hacker News
new
|
ask
|
show
|
jobs
by
scatters
1971 days ago
It's called AddressSanitizer. You enable it with the compiler flag -fsanitize=address. It's supported by clang, gcc and lately MSVC.
4 comments
saagarjha
1971 days ago
Address Sanitizer is not perfect, nor is it suitable to ship in production.
link
kevingadd
1971 days ago
Asan binaries should never be shipped in security sensitive environments. It's not designed for that. It's unsafe.
link
rkeene2
1971 days ago
You shouldn't use ASan in release builds since it may have exploitable vulnerabilities.
link
pjmlp
1971 days ago
And used by around 36% of developers that bother to answer surveys.
link