static analysis of C/C++ code
Go to file
Reijo Tomperi fe94c577bc Man page updated 2008-12-19 22:27:51 +00:00
man Man page updated 2008-12-19 22:27:51 +00:00
COPYING Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Makefile Redundant condition: Added a test case when a condition is not redundant 2008-12-19 21:15:18 +00:00
checkbufferoverrun.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkbufferoverrun.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkclass.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkclass.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkfunctionusage.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkfunctionusage.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkheaders.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkheaders.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkmemoryleak.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkmemoryleak.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkother.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
checkother.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
cppcheck.cbp Project file updated 2008-12-19 22:02:52 +00:00
cppcheck.cbproj Borland C++ : Updated project files cppcheck and testrunner 2008-12-08 06:45:52 +00:00
cppcheck.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
cppcheck.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
cppcheck.sln Added Visual C++ 2008 Express solution and project files 2008-11-03 18:57:18 +00:00
cppcheck.vcproj visual c++: updated the project file 2008-12-19 10:33:16 +00:00
cppcheckexecutor.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
cppcheckexecutor.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
errorlogger.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
filelister.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
filelister.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
main.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
preprocessor.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
preprocessor.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
readme.txt Update man page and readme to reflect the new syntax 2008-12-19 19:19:26 +00:00
settings.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
settings.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
tasks.txt tasks : Added task for optimising TOKEN::Match 2008-12-15 18:54:04 +00:00
testbufferoverrun.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testcharvar.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testclass.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testconstructors.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testdivision.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testfilelister.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testfunctionusage.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testincompletestatement.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testmemleak.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testother.cpp Updated app name and copyright to this new file also 2008-12-19 21:18:29 +00:00
testpreprocessor.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testredundantif.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testrunner.cbproj Borland C++ : Updated project files cppcheck and testrunner 2008-12-08 06:45:52 +00:00
testrunner.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testrunner.sln Visual C++ Express 2008: Added project 'testrunner' and updated the project 'cppcheck' 2008-11-15 07:15:01 +00:00
testrunner.vcproj Visual C++ Express 2008: Added project 'testrunner' and updated the project 'cppcheck' 2008-11-15 07:15:01 +00:00
testsimplifytokens.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testsuite.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testsuite.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testtoken.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testtokenize.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testunusedprivfunc.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
testunusedvar.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
token.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
token.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
tokenize.cpp Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
tokenize.h Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00

readme.txt


=========
Cppcheck
=========


About

  The original name of this program is "C++check".
  The name was changed to "cppcheck" (a google search is more successful now).


Compiling

  Any C++ compiler should work.

  The Makefile works under Linux.
  To make it work under Windows with DJGPP, change "g++" to "gxx".


Usage

  The syntax is:
      cppcheck [--all] [--quiet] [--style] [file or path] [file or path]

  The error messages will be printed to stderr.

  Example (Check all files. Use all checks):
      cppcheck --style --all ./

  To output error messages to a file use this syntax (works both on Windows and Linux):
      cppcheck file.cpp 2> err.txt


Recommendations

  When the "--all" flag is given you may get a lot of error messages.


Webpage

  http://www.sf.net/projects/cppcheck