Top "Cppcheck" questions

Cppcheck is an open source tool for static C/C++ code analysis that tries to detect bugs that a C/C++ compiler doesn't see.

Rulesets for cppcheck

Cppcheck allows you to create your own rules files, but I don't know how much of cppcheck's functionality is exposed. …

c++ testing static-code-analysis cppcheck safety-critical
Recommended way to track down array out-of-bound access/write in C program

Consider writing implementation for some not-so-obvious algorithm in C. For example let it be recursive quicksort, that I have found …

c gdb cppcheck splint memcheck
scanf Cppcheck warning

Cppcheck shows the following warning for scanf: Message: scanf without field width limits can crash with huge input data. To …

c scanf cppcheck
How can I tell Cppcheck to skip a header file

Cppcheck scans all files in a project folder: c:\projectfolder\main.c c:\projectfolder\file.c c:\projectfolder\file.h …

googletest cppcheck
clang-tidy cmake exclude file from check

I have a dependency as source in my project that I have no control over. I'm using cmake's clang-tidy integration …

cmake static-analysis cppcheck clang-tidy
cannot generate XML output from cppcheck

I am using cppcheck for static analysis of C Code, but cannot seem to get an XML. I require the …

cppcheck