Hacker News new | ask | show | jobs
by dmitrygr 436 days ago
You can skip all this nonsense with

    -fsanitize=undefined
3 comments

Not foolproof, doesn’t catch everything.
The sanitize tools are not intended to be hardening tools, just debugging/testing tools. For instance, they may introduce their own vulnerabilities.
It won't do anything for data races, for example.