A tool for static C/C++ code analysis
This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck is versatile. You can check non-standard code that includes various compiler extensions, inline assembly code, etc. Checking covers for example these errors:
* Out of bounds
* Uninitialized member variable 'classname::varname'
* Using 'memfunc' on class
* Using 'memfunc' on struct that contains a 'std::classname'
* Class Base which is inherited by class Derived does not have a virtual destructor
* Memory leak: varname
* Resource leak: varname
* Deallocating a deallocated pointer: varname
* Using 'varname' after it is deallocated / released
* Invalid radix in call to strtol or strtoul. Must be 0 or 2-36
* Overlapping data buffer varname
* Unsigned division. The result will be wrong.
* Unusual pointer arithmetic
See http://cppcheck.wiki.sourceforge.net/ for more details.
- Links to devel:tools / cppcheck
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:mathletic:branches:devel:tools/cppcheck && cd $_ - Create Badge
Source Files (show merged sources derived from linked package)
| Filename | Size | Changed |
|---|---|---|
| _link | 0000000119 119 Bytes | |
| cppcheck-2.19.0.tar.gz | 0003985155 3.8 MB | |
| cppcheck.changes | 0000052223 51 KB | |
| cppcheck.spec | 0000005238 5.12 KB |
Comments 5
Check https://build.opensuse.org/package/rdiff/home:krop:branches:home:mathletic:branches:devel:tools/cppcheck?opackage=cppcheck&oproject=home%3Amathletic%3Abranches%3Adevel%3Atools&rev=6 for the TW fix and to enable build for 15.6
Thanks! I included your changes and mentions it in the changes under your name.
The name is wrong in the changes file. That's not mine (anymore)
I am sorry! I revoked the request and updated the changelog. Is it fine now?
yup, LGTM