static analysis of C/C++ code
Go to file
Daniel Marjamäki b570e3c81d Test: Added 'TestBufferOverrun1' 2007-05-20 17:47:39 +00:00
internaltesting Test: Updated "testloop" 2007-05-19 19:23:34 +00:00
testbufferoverrun1 Test: Added 'TestBufferOverrun1' 2007-05-20 17:47:39 +00:00
testclass1 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass2 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass4 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass7 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass8 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass10 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass12 Testing: Renamed 'warnclass12' to 'testclass12' 2007-05-18 18:24:13 +00:00
testdangerousfunc1 Buffer Overrun: Using dangerous functions 2007-05-20 17:02:24 +00:00
testdelete1 updated error reports for test cases 2007-05-09 18:10:35 +00:00
testfunc2 Added files from local repository. 2007-05-07 17:31:35 +00:00
testfunc3 Added files from local repository. 2007-05-07 17:31:35 +00:00
testh1 updated error reports for test cases 2007-05-09 18:10:35 +00:00
testh2 Updated test cases 2007-05-08 15:22:36 +00:00
testh5 Added files from local repository. 2007-05-07 17:31:35 +00:00
testif1 Test: Added "testif1", contains "if (ab);" 2007-05-19 19:20:43 +00:00
testmemcheck1 Test: updated the error message output by memcheck1 2007-05-16 17:17:29 +00:00
testmemcheck2 Added test for memory checking 2007-05-17 17:25:50 +00:00
testmemcheck3 Testing: memcheck3 - new and delete (no error) 2007-05-18 17:51:35 +00:00
testmemcheck4 Test: Updated 'testmemcheck4' and 'testmemcheck5' (continue/break) 2007-05-20 06:36:47 +00:00
testmemcheck5 Test: Updated 'testmemcheck4' and 'testmemcheck5' (continue/break) 2007-05-20 06:36:47 +00:00
testmemset1 Added files from local repository. 2007-05-07 17:31:35 +00:00
teststdfunc1 Tests: Modified the test 'teststdfunc1'. Warnings has been deactivated. 2007-05-18 18:27:04 +00:00
Makefile Updated the Makefile. The name of this project has changed from 'codecheck' to 'cppcheck' 2007-05-15 11:19:22 +00:00
checknpp.bat Updated script that checks notepad++ 2007-05-10 17:24:52 +00:00
cppcheck.bpf Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
cppcheck.bpr Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
cppcheck.res Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
internaltesting.bat Building Statement List: CONTINUE, BREAK 2007-05-19 17:01:42 +00:00
main.cpp CheckBufferOverrun: Array index out of bounds. 2007-05-20 17:47:07 +00:00
readme.txt readme: minor update 2007-05-15 19:07:22 +00:00

readme.txt

=========
C++ check
=========


Compiling

  Any C++ compiler should work. 
  There are no dependencies.

  Linux:
      g++ -o cppcheck main.cpp

  Windows:
      gxx -o cppcheck main.cpp



Usage

  Just type:
      cppcheck filename.cpp

  The error messages will be printed to stderr.


Recommendations

  Create a shell script that checks all files.