Hacker News new | ask | show | jobs
by bruce343434 1636 days ago
-fsanitize=address,undefined,etc

There's even threadsanitizer which will tell you about deadlocks and unjoined threads.