The idea is not "valgrind will detect all tomfoolery". The idea here is "if valgrind detects something it may be an indication of tomfoolery.'
Also remember this
>> odd valgrind complaint in automated testing of postgres
I would imagine compiling a list of odd complaints may yield something , or nothing at all.