Cppcheck Portable is a static analysis tool for C/C++ code to check for memory leaks, mismatching allocation-deallocation, buffer overrun, and more. Installer version is also available.
Cppcheck Portable, offered via PortableApps, gives you unique code analysis for detecting bugs, undefined behavior, and dangerous coding constructs.
Cppcheck Portable Features:
Unique code analysis that detects various kinds of bugs in your code. Both command-line interface and graphical user interface are available.
Undefined behavior:
Dead pointers Division by zero Integer Overflows Invalid bit shift operands Invalid conversions Invalid usage of STL Memory management Null pointer dereferences Out of bounds checking Uninitialized variables Writing const data