MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1wz3pkv/using_fsanitizeaddress_feels_illegal/
r/C_Programming • u/[deleted] • Oct 06 '26
[deleted] — view deleted post
4 comments sorted by
9
I always sanitize everything in debug builds. I would not say I "need" to, but if there is chance it discovers a bug that would be otherwise difficult to spot, why not.
Been using Valgrind for >20 years, address sanitizer for >10 years.
I remember the bad old days when these tools didn’t exist.
2
As an avionics software engineer I am "a real man who stores everything in static memory only" as you said.
We still use ASAN and other static analysis tools often.
9
u/DDDDarky Oct 06 '26
I always sanitize everything in debug builds. I would not say I "need" to, but if there is chance it discovers a bug that would be otherwise difficult to spot, why not.
9
u/EpochVanquisher Oct 06 '26
Been using Valgrind for >20 years, address sanitizer for >10 years.
I remember the bad old days when these tools didn’t exist.
2
u/tim36272 Oct 06 '26
As an avionics software engineer I am "a real man who stores everything in static memory only" as you said.
We still use ASAN and other static analysis tools often.