static analysis of C/C++ code
Go to file
Slava Semushin 6c022798ea Fixed ticket #499 (buffer overflow not detected when using macros)
sprintf() buffer overrun detection works wrong due to typo (since time
when it was added in commit a604f56f19).

Also reports buffer overrun when sprintf() writes bytes equal to
buffer size -- in this case off-by-one error appears.

http://sourceforge.net/apps/trac/cppcheck/ticket/499
2009-07-26 19:29:46 +07:00
gui gui/cppcheck_ru.ts: start Russian translation. 2009-07-26 16:10:11 +07:00
man Updated man page to reflect AUTHORS file. 2009-05-21 23:09:37 +03:00
src Fixed ticket #499 (buffer overflow not detected when using macros) 2009-07-26 19:29:46 +07:00
test Fixed ticket #499 (buffer overflow not detected when using macros) 2009-07-26 19:29:46 +07:00
tools cleanup: removed deprecated files. security checking and errmsg 2009-07-12 19:18:38 +02:00
win_installer updated version to 1.34 2009-07-12 16:09:22 +02:00
.gitignore Add generated GUI header files to gitignore. 2009-07-14 18:45:25 +03:00
AUTHORS Fix ticket #325 (Replace developer names in source files with AUTHORS file) 2009-05-30 08:48:12 +03:00
COPYING Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Changelog Added a Changelog file that is generated automaticly by git2cl 2009-06-07 13:14:28 +02:00
Makefile cleanup: removed deprecated files. security checking and errmsg 2009-07-12 19:18:38 +02:00
build.bat Add simple batch file to build cppcheck projects in Windows. 2009-07-14 18:47:38 +03:00
cppcheck.cbp Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00
cppcheck.cbproj Borland C++: Added CheckDangerousFunctions.* to the project 2009-02-07 07:39:15 +00:00
cppcheck.geany doc: changed the doxygen comments for the mainpage 2009-07-16 15:32:07 +02:00
cppcheck.sln changed mode of visual studio files 2009-04-10 11:11:07 +02:00
cppcheck.vcproj Update Visual Studio project files. 2009-07-13 18:53:43 +03:00
createrelease updated version to 1.34 2009-07-12 16:09:22 +02:00
doxyfile Add GUI code to doxygen output. 2009-06-02 07:01:20 +03:00
readme.txt Added instructions to compile the GUI. 2009-07-02 11:38:47 +03:00
runastyle Began implementing a simple Qt based GUI. 2009-03-01 07:38:21 +00:00
runastyle.bat Began implementing a simple Qt based GUI. 2009-03-01 07:38:21 +00:00
testrunner.cbproj Borland C++: Updated the project files 2009-01-07 15:07:26 +00:00
testrunner.sln changed mode of visual studio files 2009-04-10 11:11:07 +02:00
testrunner.vcproj Update Visual Studio project files. 2009-07-13 18:53:43 +03:00
using_gcov.txt doc: how to use gcov 2009-01-20 21:01:11 +00:00

readme.txt


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


About

  The original name of this program is "C++check".
  The name was changed to "cppcheck".


Compiling

  Any C++ compiler should work.

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

  To compile the GUI one needs Qt development libraries and issue the following commands:
  cd gui
  qmake
  lrelease gui.pro
  make

Usage

  Run the cppcheck program without parameters and a help text will be shown.


Recommendations

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


Webpage

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