399a3e2598 | ||
---|---|---|
internaltesting | ||
testbufferoverrun1 | ||
testbufferoverrun2 | ||
testbufferoverrun3 | ||
testbufferoverrun4 | ||
testbufferoverrun5 | ||
testclass1 | ||
testclass2 | ||
testclass4 | ||
testclass7 | ||
testclass8 | ||
testclass10 | ||
testclass12 | ||
testdangerousfunc1 | ||
testdelete1 | ||
testfunc2 | ||
testfunc3 | ||
testh1 | ||
testh2 | ||
testh5 | ||
testif1 | ||
testmemcheck1 | ||
testmemcheck2 | ||
testmemcheck3 | ||
testmemcheck4 | ||
testmemcheck5 | ||
testmemset1 | ||
teststdfunc1 | ||
CheckBufferOverrun.cpp | ||
CheckBufferOverrun.h | ||
Makefile | ||
checknpp.bat | ||
cppcheck.bpf | ||
cppcheck.bpr | ||
cppcheck.res | ||
internaltesting.bat | ||
main.cpp | ||
readme.txt | ||
tokenize.cpp | ||
tokenize.h |
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 The syntax is: cppcheck [-w] filename.cpp The error messages will be printed to stderr. If you specify '-w', additional warning messages will be printed. Recommendations Create a shell script that checks all files. Author Daniel Marjamäki A 29 year old from sweden who works in Stockholm as a programmer (developing a RAD tool for control systems that control hydraulics).