Free Software Foundation!

Join now

Browse wiki

Jump to: navigation,
Cppcheck
Computer languages C, C++  +
Full description Cppcheck is a command-line tool that triesCppcheck is a command-line tool that tries to detect bugs that your C/C++ compiler doesn't see. It is versatile, and can check non-standard code including various compiler extensions, inline assembly code, etc. Its internal preprocessor can handle includes, macros, and several preprocessor commands. While Cppcheck is highly configurable, you can start using it just by giving it a path to the source code. It includes checks for: * pointers to out-of-scope auto variables; * assignment of auto variables to an effective parameter of a function; * out-of-bounds errors in arrays and STL; * missing class constructors; * variables not initialized by a constructor; * use of memset, memcpy, etcetera on a class; * non-virtual destructors for base classes; * operator= not returning a constant reference to itself; * use of deprecated functions (mktemp, gets, scanf); * exceptions thrown in destructors; * memory leaks in class or function variables; * C-style pointer cast in C++ code; * redundant if; * misuse of the strtol or sprintf functions; * unsigned division or division by zero; * unused functions and struct members; * passing parameters by value; * misuse of signed char variables; * unusual pointer arithmetic (such as "abc" + 'd'); * dereferenced null pointers; * incomplete statements; * misuse of iterators when iterating through a container; * dereferencing of erased iterators; * use of invalidated vector iterators/pointers; of invalidated vector iterators/pointers;
Homepage URL http://cppcheck.wiki.sourceforge.net/  +
Import date 20 March 2013  +
Import source Debian import  +
Import source link http://packages.debian.org/sid/cppcheck  +
Is GNU false  +
License GPLv3orlater + , Zlib + , GPLv2orlater +
License copyright © © Copyright 2007-2013, Daniel Marjamäki© © Copyright 2007-2013, Daniel Marjamäki <hyd_danmar@users.sourceforge.net> © Copyright 2008-2013, Reijo Tomperi <aggro80@users.sourceforge.net> © Copyright 2008-2013, Nicolas Le Cam <kush_eplus@users.sourceforge.net> © Copyright 2008-2013, Leandro Penz <lpenz@users.sourceforge.net> © Copyright 2008-2013, Kimmo Varis <kimmov@users.sourceforge.net> © Copyright 2009-2013, Vesa Pikki <spyree@users.sourceforge.net> © Copyright 2009-2013, Gianluca Scacco <gscacco@users.sourceforge.net> © Copyright 2009-2013, Nguyen Duong Tuan <hoangtuansu@users.sourceforge.net> © Copyright 2009-2013, Bill Egert <boogachamp@users.sourceforge.net> © Copyright 2009-2013, Hoang Tuan Su <hoangtuansu@users.sourceforge.net> © Copyright 2009-2013, Slava Semushin <php-coderrr@users.sourceforge.net> © Copyright 2009-2013, Robert Reif <reif@earthlink.net> © Copyright 2010-2013, Martin Ettl <ettlmartin@users.sourceforge.net> © Copyright 2010-2013, Zachary Blair <zack_blair@hotmail.com> © Copyright 2010-2013, Erik Lax <erik@datahack.se> © Copyright 2010-2013, Goran Džaferi <the.vbm@gmail.com> © Copyright 2010-2013, Sébastien Debrard <sebastien.debrard@gmail.com> © Copyright 2011-2013, Edoardo Prezioso <edo88@email.it> © Copyright 2011-2013, Greg Hewgill <greg@hewgill.com> © Copyright 2011-2013, Philipp Kloke <philipp.kloke@web.de> © Copyright 2011-2013, Thomas Jarosch <thomas.jarosch@intra2net.com>rosch <thomas.jarosch@intra2net.com> , © 2000-2007, Lee Thomason <leethomason@mindspring.com> © 2002-2004, Yves Berquin <yvesb@users.sourceforge.net> , © 2000-2007, Lee Thomason <leethomason@mindspring.com> © 2002-2004, Yves Berquin <yvesb@users.sourceforge.net> © 2005, Tyge Lovset , © Copyright 2008-2013, Reijo Tomperi <aggro80@users.sourceforge.net>
License note License: GPL-3+ GPL-3+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-3' file.  + , License: GPL-2+ GPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file.  +
License verified by Debian  +
License verified date 20 March 2013  +
Name Cppcheck  +
Resource URL https://sourceforge.net/projects/cppcheck  +
Resource kind Download  +
Revisionid 17,890  +
Revisiontimestamp 27 March 2013 18:22:09  +
Revisionuser User:WikiSysop +
Short description tool for static C/C++ code analysis  +
Submitted by Debian import +
Submitted date 20 March 2013  +
Has queryThis property is a special property in this wiki. Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck +
Has improper value forThis property is a special property in this wiki. License note  +
Modification dateThis property is a special property in this wiki. 4 January 2014 04:31:43  +
Page has default formThis property is a special property in this wiki. Entry  +
Has subobjectThis property is a special property in this wiki. Cppcheck + , Cppcheck + , Cppcheck + , Cppcheck +
hide properties that link here 
Cppcheck + , Cppcheck + , Cppcheck + License of
Cppcheck + Resource of
 

 

Enter the name of the page to start browsing from.



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.


Personal tools
Namespaces

Variants
Views
Actions
Navigation
Contribute