debian/0000755000000000000000000000000012177506573007203 5ustar debian/rules0000755000000000000000000000237712177504753010272 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" override_dh_auto_build: sed -i.nocppflags -e 's/\$$(CXX) \$$(CXXFLAGS)/$$(CXX) $$(CPPFLAGS) $$(CXXFLAGS)/' Makefile dh_auto_build -- HAVE_RULES=yes TINYXML=-ltinyxml2 INCLUDE_FOR_LIB=-Ilib INCLUDE_FOR_CLI=-Ilib INCLUDE_FOR_TEST="-Ilib -Icli" $(XP) $(DB2MAN) man/cppcheck.1.xml override_dh_auto_clean: dh_auto_clean [ ! -f Makefile.nocppflags ] || mv -f Makefile.nocppflags Makefile override_dh_auto_test: dh_auto_test -- HAVE_RULES=yes TINYXML=-ltinyxml2 INCLUDE_FOR_LIB=-Ilib INCLUDE_FOR_CLI=-Ilib INCLUDE_FOR_TEST="-Ilib -Icli" override_dh_auto_install: dh_auto_install -- HAVE_RULES=yes TINYXML=-ltinyxml2 INCLUDE_FOR_LIB=-Ilib INCLUDE_FOR_CLI=-Ilib INCLUDE_FOR_TEST="-Ilib -Icli" %: dh $@ debian/copyright0000644000000000000000000000611312076601310011116 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: cppcheck Source: https://sourceforge.net/projects/cppcheck Files: * Copyright: Copyright 2007-2013, Daniel Marjamäki Copyright 2008-2013, Reijo Tomperi Copyright 2008-2013, Nicolas Le Cam Copyright 2008-2013, Leandro Penz Copyright 2008-2013, Kimmo Varis Copyright 2009-2013, Vesa Pikki Copyright 2009-2013, Gianluca Scacco Copyright 2009-2013, Nguyen Duong Tuan Copyright 2009-2013, Bill Egert Copyright 2009-2013, Hoang Tuan Su Copyright 2009-2013, Slava Semushin Copyright 2009-2013, Robert Reif Copyright 2010-2013, Martin Ettl Copyright 2010-2013, Zachary Blair Copyright 2010-2013, Erik Lax Copyright 2010-2013, Goran Džaferi Copyright 2010-2013, Sébastien Debrard Copyright 2011-2013, Edoardo Prezioso Copyright 2011-2013, Greg Hewgill Copyright 2011-2013, Philipp Kloke Copyright 2011-2013, Thomas Jarosch License: 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. Files: externals/tinyxml/* Copyright: 2000-2007, Lee Thomason 2002-2004, Yves Berquin License: ZLIB Files: externals/tinyxml/tinystr.* Copyright: 2000-2007, Lee Thomason 2002-2004, Yves Berquin 2005, Tyge Lovset License: ZLIB Files: debian/* Copyright: Copyright 2008-2013, Reijo Tomperi License: 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: ZLIB This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. debian/source/0000755000000000000000000000000011622036275010472 5ustar debian/source/format0000644000000000000000000000001412177364364011711 0ustar 3.0 (quilt) debian/control0000644000000000000000000000361612153415755010607 0ustar Source: cppcheck Section: devel Priority: optional Maintainer: Reijo Tomperi Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.15.7~), xsltproc, docbook-xsl, docbook-xml, libpcre3-dev, libtinyxml2-dev Standards-Version: 3.9.4 Homepage: http://cppcheck.wiki.sourceforge.net/ Package: cppcheck Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: tool for static C/C++ code analysis Cppcheck 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; debian/watch0000644000000000000000000000007011523563200010211 0ustar version=3 http://sf.net/cppcheck/cppcheck-(.+)\.tar\.gz debian/changelog0000644000000000000000000003104312177405404011045 0ustar cppcheck (1.61-1) unstable; urgency=low * New upstream release * rules: add INCLUDE_FOR_LIB to makeit work with new upstream makefile * Fix false positive, address of uninitialized variable, Closes: #706494 -- Reijo Tomperi Sun, 04 Aug 2013 08:39:00 +0300 cppcheck (1.60.1-1) unstable; urgency=low * New upstream release * control: Standards-Version: 3.9.3 -> 3.9.4 -- Reijo Tomperi Tue, 04 Jun 2013 19:37:14 +0300 cppcheck (1.59-1) unstable; urgency=low * New upstream release * control: Change libtinyxml-dev to libtinyxml2-dev * rules: Change -ltinyxml to -ltinyxml2 -- Reijo Tomperi Mon, 01 Apr 2013 10:16:31 +0300 cppcheck (1.58-1) unstable; urgency=low * New upstream release * copyright: update and add some new authors * Fix c++11 handling, Closes: #688759 -- Reijo Tomperi Sat, 19 Jan 2013 21:08:42 +0200 cppcheck (1.57-1) unstable; urgency=low * New upstream release * control: debhelper requirement upgraded from 8 to 9 * control: removed hardening-includes * compat: upgraded from 8 to 9 * rules: deletet a lot lines related to hardening * Fix internal error in Cppcheck, Closes: #686976 -- Reijo Tomperi Sun, 04 Nov 2012 23:32:19 +0200 cppcheck (1.56-1) unstable; urgency=low * New upstream release * rules: Removed -Iexternals* to avoid using from headers when compiling * rules: Removed duplicate HAVE_RULES -- Reijo Tomperi Sat, 01 Sep 2012 21:27:03 +0300 cppcheck (1.55-1) unstable; urgency=low * New upstream release -- Reijo Tomperi Sun, 01 Jul 2012 19:25:42 +0300 cppcheck (1.54-1) unstable; urgency=low * New upstream release * control: standards-version 3.9.2 -> 3.9.3 -- Reijo Tomperi Mon, 16 Apr 2012 21:14:07 +0300 cppcheck (1.53-1) unstable; urgency=low * New upstream release * Remove patch as spelling is fixed in upstream. * Update years in copyright file * Fix crash in QtMoko: Closes: #656174 -- Reijo Tomperi Sat, 11 Feb 2012 16:45:06 +0200 cppcheck (1.52-1) unstable; urgency=low * New upstream release * rules: Use HAVE_RULES=yes argument for makefile, due to upstream change * Apply patch to fix spelling error in upstream: explicitely -- Reijo Tomperi Sat, 10 Dec 2011 20:29:53 +0200 cppcheck (1.51-1) unstable; urgency=low * New upstream release * Fix false-negative for realloc. Closes: #628593 -- Reijo Tomperi Sat, 08 Oct 2011 21:55:53 +0300 cppcheck (1.50-1) unstable; urgency=low * New upstream release * Fix ftbs with --as-needed. Closes: #632084 * Apply crash patch from upstream: 961b6e77522a7635ebbffaba37698950fcb413a0 -- Reijo Tomperi Sun, 14 Aug 2011 15:57:14 +0300 cppcheck (1.49-1) unstable; urgency=low * New upstream release * Fix segmentation fault with asm code. Closes: #625959 * control: Standars-version changed 3.9.1 -> 3.9.2 -- Reijo Tomperi Tue, 14 Jun 2011 21:23:39 +0300 cppcheck (1.48-1) unstable; urgency=low * New upstream release * control: build-depend: libtinyxml-dev * rules: libtinyxml instead of embedded tinyxml, add -DHAVE_RULES cxx flag * patches: removed, as included in the new version -- Reijo Tomperi Mon, 11 Apr 2011 21:15:03 +0300 cppcheck (1.47-4) unstable; urgency=low * 3rd try fixing FTBFS in multiple architectures. Closes: #613308 -- Reijo Tomperi Tue, 22 Feb 2011 21:53:00 +0200 cppcheck (1.47-3) unstable; urgency=low * 2nd try fixing FTBFS in multiple architectures. Closes: #613308 -- Reijo Tomperi Thu, 17 Feb 2011 22:45:08 +0200 cppcheck (1.47-2) unstable; urgency=low * Fix FTBFS in multiple architectures. Closes: #613308 -- Reijo Tomperi Mon, 14 Feb 2011 22:28:10 +0200 cppcheck (1.47-1) unstable; urgency=low * New upstream release * Default value for --enable described in manual. Closes: #599190 * False positive fixed: Function pointer returning typedef. Closes: #607312 * 0X10 number handling fixed. Closes: #608002 * False positive fixed: Memory leak. Closes: #609354 * Build time dependency added: libpcre3-dev * Add tinyxml to copyright file * control: Standars-version changed 3.9.0 -> 3.9.1 * Apply following patches from Peter Pentchev: - Use DEP-5 rev. 135 for the copyright file format. - Honor the C preprocessor flags in CPPFLAGS. - Use dpkg-buildflags to obtain the default CPPFLAGS, CXXFLAGS and LDFLAGS. - Use build hardening unless the "nohardening" build option is specified. - Use the dh(1) helper. - Split dh_* arguments into separate files to simplify the build. - Use debhelper override rules. - Bump the debhelper compat level to 8 with no changes. - Update to DEP 5 rev. 166 use single copyright header - Bump the upstream copyright years -- Reijo Tomperi Sun, 06 Feb 2011 20:20:48 +0200 cppcheck (1.44-1) unstable; urgency=low * New upstream release * Zachary Blair and Martin Ettl added to copyright file * control: Standars-version changed 3.8.4 -> 3.9.0 * Remove patch debian-changes-1.43-3, because applied to upstream -- Reijo Tomperi Tue, 13 Jul 2010 16:24:55 +0300 cppcheck (1.43-3) unstable; urgency=low * Remove --auto-dealloc and --all from man page * Switch to dpkg-source 3.0 (quilt) format -- Reijo Tomperi Mon, 10 May 2010 22:19:46 +0300 cppcheck (1.43-2) unstable; urgency=low * Remove --enable=possibleError from man page -- Reijo Tomperi Mon, 10 May 2010 21:38:46 +0300 cppcheck (1.43-1) unstable; urgency=low * New upstream release * False positive fixed. Closes: #546605 -- Reijo Tomperi Sun, 09 May 2010 21:34:22 +0300 cppcheck (1.42-1) unstable; urgency=low * New upstream release -- Reijo Tomperi Fri, 12 Mar 2010 22:06:09 +0200 cppcheck (1.41-2) unstable; urgency=low * copyright: update years * copyright: Robert Reif added -- Reijo Tomperi Sun, 07 Mar 2010 22:24:20 +0200 cppcheck (1.41-1) unstable; urgency=low * New upstream release * control: Descriptions rewritten * control: Standars-version changed 3.8.3 -> 3.8.4 * False positive resource leak fixed. Closes: #566604 * Package description improved. Closes: #567759 -- Reijo Tomperi Sun, 07 Mar 2010 21:25:03 +0200 cppcheck (1.40-1) unstable; urgency=low * New upstream release * control: Long description updated * control: Added misc:Depends -- Reijo Tomperi Mon, 18 Jan 2010 23:15:55 +0200 cppcheck (1.39-1) unstable; urgency=low * New upstream release * False positive with resource leak fixed. Closes: #554448 -- Reijo Tomperi Sun, 06 Dec 2009 16:20:47 +0200 cppcheck (1.38-1) unstable; urgency=low * New upstream release * False positive with resource leak fixed. Closes: #550793 * control: Long description, added Exception safety -- Reijo Tomperi Sun, 25 Oct 2009 15:31:26 +0200 cppcheck (1.37-1) unstable; urgency=low * New upstream release * control: Standars-version changed 3.8.1 -> 3.8.2 * control: Long description, unusal -> unusual * control: Long description, removed the "We recommend" sentence. * False positive with memset fixed. Closes: #544591 * False positive with resource leak fixed. Closes: #542352 -- Reijo Tomperi Tue, 22 Sep 2009 23:10:56 +0300 cppcheck (1.35-1) unstable; urgency=low * New upstream release * False positive fixed. Closes: #539626 * Infinite loop fixed. Closes: #537362 * Several "invalid number of character" fixes. Closes: #532820 -- Reijo Tomperi Sun, 16 Aug 2009 18:37:26 +0300 cppcheck (1.34-1) unstable; urgency=low * New upstream release * control: Standars-version changed 3.8.1 -> 3.8.2 * control: Description changed: "A tool" -> "Tool" * control: Long description rewritten to reflect upstream wiki -- Reijo Tomperi Sun, 12 Jul 2009 22:01:52 +0300 cppcheck (1.33-1) unstable; urgency=low * New upstream release * control: Feature list updated to reflect current status * copyright: new developer added, Bill Egert * copyright: new developer added, Hoang Tuan Su * copyright: new developer added, Slava Semushin * docs: AUTHORS file was added (from upstream) * Upstream changelog was added * Segmentation fault fixed. Closes: #528981 -- Reijo Tomperi Sun, 07 Jun 2009 19:06:36 +0300 cppcheck (1.32-1) unstable; urgency=low * New upstream release * control: Feature list updated to reflect current status -- Reijo Tomperi Sun, 10 May 2009 21:45:52 +0300 cppcheck (1.31-1) unstable; urgency=low * New upstream release * control: Standards-version from 3.8.0 to 3.8.1 * copyright: new developer added, Nguyen Duong Tuan * copyright: new developer added, Gianluca Scacco * control: Feature list updated to reflect current status -- Reijo Tomperi Sun, 12 Apr 2009 22:12:33 +0300 cppcheck (1.30-1) unstable; urgency=low * New upstream release -- Reijo Tomperi Sun, 08 Mar 2009 21:09:53 +0200 cppcheck (1.29-1) unstable; urgency=low * New upstream release * copyright: new developer added, Vesa Pikki * copyright: Year 2009 added to man page copyright * control: Feature list updated to reflect current status -- Reijo Tomperi Mon, 02 Mar 2009 21:30:02 +0200 cppcheck (1.28-2) unstable; urgency=low * rules: changed dh_clean -k to dh_prep * copyright: use Use GPL-3 and GPL-2 files instead of GPL * control: Updated description to reflect current status -- Reijo Tomperi Mon, 02 Feb 2009 21:55:02 +0200 cppcheck (1.28-1) unstable; urgency=low * New upstream release * Now also processes .c++ files. Closes: #512060 * Doesn't give false positive with streams. Closes: #512141 * Leandro Penz added to the copyright file * Kimmo Varis added to the copyright file -- Reijo Tomperi Sun, 01 Feb 2009 10:32:30 +0200 cppcheck (1.27-2) unstable; urgency=low * Nicolas Le Cam added to the copyright file -- Reijo Tomperi Tue, 30 Dec 2008 22:59:49 +0200 cppcheck (1.27-1) unstable; urgency=low * New upstream release * Removed man page from debian/, using upstream version instead * rules-file updated to use man page that comes with the upstream release * README.Debian-file removed (nothing is customized anymore) -- Reijo Tomperi Tue, 30 Dec 2008 21:50:37 +0200 cppcheck (1.26-1) unstable; urgency=low * New upstream release -- Reijo Tomperi Sun, 30 Nov 2008 21:21:15 +0200 cppcheck (1.25-4) unstable; urgency=low * Added build dependecy required by the man page: docbook-xml * Correct name changed to README.Debian -- Reijo Tomperi Sun, 09 Nov 2008 20:48:49 +0200 cppcheck (1.25-3) unstable; urgency=low * Reverted previous utf-8 changes to source files back to original * Using dh_clean instead of rm to remove cppcheck.1 * Fixed typos in 1.25-2 change history -- Reijo Tomperi Thu, 06 Nov 2008 01:10:52 +0200 cppcheck (1.25-2) unstable; urgency=low * Removed duplicate entry from docs * Added watch file * Changed copyright to match wiki.debian.org proposal * Fixed encoding to utf-8 on FileLister.* and testtokenize.cpp * Added homepage to control file * clean now removes cppcheck.1 * cppcheck.1 is build with xsltproc instead of docbook2x * *-stamp is removed by dh_clean instead of rm command * Removed configure target from rules file * Removed usage of dh_installexamples * Improved description in the control file -- Reijo Tomperi Wed, 05 Nov 2008 23:33:36 +0200 cppcheck (1.25-1) unstable; urgency=low * Initial release (Closes: #503730) -- Reijo Tomperi Wed, 05 Nov 2008 00:31:09 +0200 debian/compat0000644000000000000000000000000212045557453010376 0ustar 9 debian/cppcheck.manpages0000644000000000000000000000001311523604001012445 0ustar cppcheck.1 debian/clean0000644000000000000000000000003411523604001010160 0ustar cppcheck.1 test/tinyxml/*.o debian/dirs0000644000000000000000000000001011523563200010036 0ustar usr/bin debian/docs0000644000000000000000000000002311523563200010031 0ustar readme.txt AUTHORS