4 ms·
Sanitizers and Valgrind are nice, but you need a comprehensive test suite to really benefit from them. They only detect problems that are triggered by your test
by adrianN 8y ago
Sanitizers and Valgrind are nice, but you need a comprehensive test suite to really benefit from them. They only detect problems that are triggered by your testsuite. This is a far cry from statically proving that your software is free from e.g. use-after-free mistakes.
- jonstewart 8y agoI mean, if you don’t have tests, write some. I know that sounds glib when confronted with a horrible old big ball of mud, but it’s probably the best place to start.
- jzwinck 8y agoNo test suite, no problem. Just run in a production staging area or deploy to beta users.
- aflag 8y agoThat's better than nothing, but it would still be no proof that the are no issues, as uncommon behaviour/access patterns could take some time to appear (or will only show up after other services are introduced).
- inetknght 8y ago> or deploy to beta users. And for God's sake: your users are NOT beta testers!