static analysis of C/C++ code
Go to file
Daniel Marjamäki ac3073e9fd Tests: Added 'TestBufferOverrun5' 2007-05-21 18:04:19 +00:00
internaltesting Test: Updated "testloop" 2007-05-19 19:23:34 +00:00
testbufferoverrun1 Test: minor update to TestBufferOverrun1 2007-05-21 17:19:26 +00:00
testbufferoverrun2 Test: Updated 'TestBufferOverrun2'. Bufferusage out of bounds. 2007-05-21 17:18:50 +00:00
testbufferoverrun3 Test: Buffer overrun 2007-05-21 09:54:42 +00:00
testbufferoverrun4 Test: Added 'TestBufferOverrun4' 2007-05-21 17:17:11 +00:00
testbufferoverrun5 Tests: Added 'TestBufferOverrun5' 2007-05-21 18:04:19 +00:00
testclass1 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testclass2 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testclass4 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testclass7 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testclass8 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testclass10 Testing: Added warning messages. 2007-05-21 17:16: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 Testing: Added warning messages. 2007-05-21 17:16: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 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testh2 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
testh5 Testing: Added warning messages. 2007-05-21 17:16: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 Replacing constants to make it easier to find bugs. 2007-05-21 18:03:40 +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.