Valgrind (and the sanitizers) are only as good as your test coverage.
Static analysis can cover all your code, though generally with a significant rate of false positives that you will need to analyse.