cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

static analysis of C/C++ code

Results 369 cppcheck issues
Sort by recently updated
recently updated
newest added

The `hasToLog()` call performs this check.

Passing `universal_newlines=True` to `subprocess.Popen()` will implicitly perform `decode()`. But this might encounter errors which need to be ignored. Unfortunately the required options `encoding` and `errors` are not available until Python...

I have no clue how to fix it but I noticed something so I thought I'd create a test to see if you think it's a bug and if it's...

Cross post from the forum (https://sourceforge.net/p/cppcheck/discussion/general/thread/847b8527de/) I'm looking a bit into https://trac.cppcheck.net/ticket/10489 and I think I found the issue and a very hacky solution, but I'm looking for input for...

`valueflow.cpp` is very monolithic which makes it hard to manage. This is splitting several parts into separate files as discussed in #4642.

This essentially reverts a5664c3e4900f46df5ad774bdc2181ebdb4dc56c. Since we still have no users of this within our code base it doesn't make much sense to keep it. So if there were issues in...