Hacker News new | ask | show | jobs
by conductor 4454 days ago
Cppcheck - http://cppcheck.sourceforge.net/
1 comments

Thanks, I just tried it and it found an assignment in an assertion that the compiler didn't warn because it wasn't an if statement.

I ran it over a couple of old finished projects and it found a problem in each one. Awesome.

Unfortunately it misses a class of errors memcpy would do,( similar to heartbleed ) , if copy size is determined at runtime.