debian/0000775000000000000000000000000013116061123007162 5ustar debian/control0000664000000000000000000000504112473556365010613 0ustar Source: valgrind Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Alessandro Ghedini Uploaders: Roland Stigge Build-Depends: debhelper (>= 7.0.50~), bash-completion, dh-autoreconf, gdb, gcc-multilib [amd64], libc6-dev-i386 [amd64], docbook, docbook-xsl, docbook-xml, xsltproc Standards-Version: 3.9.6 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/valgrind.git Vcs-Git: git://anonscm.debian.org/collab-maint/valgrind.git Homepage: http://www.valgrind.org/ Package: valgrind Architecture: amd64 arm64 armhf i386 mips mipsel mips64 mips64el powerpc ppc64 ppc64el s390x x32 Depends: ${misc:Depends}, ${shlibs:Depends}, libc6-dbg Suggests: valgrind-dbg, kcachegrind, alleyoop, valkyrie (>> 1.3.0) Recommends: gdb Breaks: valgrind-dev Replaces: valgrind-dev Description: instrumentation framework for building dynamic analysis tools Valgrind is a system for debugging and profiling Linux programs. With its tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting and making your programs more stable. You can also perform detailed profiling to help speed up your programs and use Valgrind to build new tools. . The Valgrind distribution currently includes six production-quality tools: * a memory error detector (Memcheck) * two thread error detectors (Helgrind and DRD) * a cache and branch-prediction profiler (Cachegrind) * a call-graph generating cache and branch-prediction profiler (Callgrind) * a heap profiler (Massif) It also includes three experimental tools: * a stack/global array overrun detector (SGCheck) * a second heap profiler that examines how heap blocks are used (DHAT) * a SimPoint basic block vector generator (BBV) Package: valgrind-dbg Priority: extra Section: debug Architecture: amd64 arm64 armhf i386 mips mipsel mips64 mips64el powerpc ppc64 ppc64el s390x x32 Depends: ${misc:Depends}, valgrind (= ${binary:Version}) Description: instrumentation framework for building dynamic analysis tools (debug) Valgrind is a system for debugging and profiling Linux programs. With its tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting and making your programs more stable. You can also perform detailed profiling to help speed up your programs and use Valgrind to build new tools. . This package provides the debug symbols for valgrind's tools and libraries. debian/valgrind.sh0000664000000000000000000000102012253437573011336 0ustar #!/bin/sh -e # # Valgrind wrapper # Default Debian debug libraries. DBGPATH=/usr/lib/debug # Use debug libraries if found. if [ -z "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH="$DBGPATH" else export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DBGPATH" fi # Force C++ STL to use malloc and to free memory by disabling # memory caching. # For gcc < 3.4 versions export GLIBCPP_FORCE_NEW=1 # For gcc >= 3.4 versions export GLIBCXX_FORCE_NEW=1 # Use 'exec' to avoid having another shell process hanging around. exec $0.bin "$@" debian/changelog0000664000000000000000000023365613116060703011056 0ustar valgrind (1:3.10.1-1ubuntu3~14.5) trusty-security; urgency=medium * SECURITY UPDATE: integer overflow in string_appends - debian/patches/CVE-2016-2226.patch: check for overflow in coregrind/m_demangle/cplus-dem.c, add xmalloc_failed and xmemdup to coregrind/m_demangle/vg_libciface.h. - CVE-2016-2226 * SECURITY UPDATE: use-after-free vulnerabilities - debian/patches/CVE-2016-4487_4488.patch: set bsize and ksize in coregrind/m_demangle/cplus-dem.c. - CVE-2016-4487 - CVE-2016-4488 * SECURITY UPDATE: integer overflow in gnu_special - debian/patches/CVE-2016-4489.patch: handle case where consume_count returns -1 in coregrind/m_demangle/cplus-dem.c. - CVE-2016-4489 * SECURITY UPDATE: integer overflow after sanity checks - debian/patches/CVE-2016-4490.patch: parse numbers as integer instead of long in coregrind/m_demangle/cp-demangle.c. - CVE-2016-4490 * SECURITY UPDATE: denial of service via infinite recursion - debian/patches/CVE-2016-4491.patch: limit recursion in coregrind/m_demangle/cp-demangle.c, coregrind/m_demangle/demangle.h. - CVE-2016-4491 * SECURITY UPDATE: buffer overflow in do_type - debian/patches/CVE-2016-4492_4493.patch: properly handle large values and overflow in coregrind/m_demangle/cplus-dem.c. - CVE-2016-4492 - CVE-2016-4493 * SECURITY UPDATE: denial of service via infinite recursion - debian/patches/CVE-2016-6131.patch: prevent infinite recursion in coregrind/m_demangle/cplus-dem.c, add XDUPVEC to coregrind/m_demangle/vg_libciface.h. - CVE-2016-6131 * debian/patches/new_kernel.patch: fix building on newer kernels. -- Marc Deslauriers Wed, 07 Jun 2017 15:28:55 -0400 valgrind (1:3.10.1-1ubuntu3~14.04) trusty-proposed; urgency=medium * SRU. Backport the 1.10 series to 14.04 for ppc64el support. LP: #1386524. * Also fixes segfault on ppc64el, LP: #1377796. -- Matthias Klose Wed, 15 Jul 2015 09:37:42 +0200 valgrind (1:3.10.1-1ubuntu3) wily; urgency=medium * Build with GCC fixing PR target/65456. LP: #1434222. * Fix DCACHEBSIZE and HWCAP2 issues. LP: #1428002. * Fix bash command completion to respect end of options argument (--). LP: #840467. -- Matthias Klose Wed, 15 Jul 2015 09:48:13 +0200 valgrind (1:3.10.1-1ubuntu2) vivid; urgency=medium * Build for glibc-2.21. LP: #1435261. -- Matthias Klose Thu, 26 Mar 2015 22:10:58 +0100 valgrind (1:3.10.1-1ubuntu1) vivid; urgency=medium * Merge with Debian; remaining changes: - Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being. - Lower over-inflated valgrind-dbg Recommends to Suggests instead. - Don't strip vgpreload* on ARM; this results in unusable stack traces without valgrind-dbg. - Configure with --enable-only64bit on AArch64. -- Matthias Klose Thu, 26 Feb 2015 09:25:34 +0100 valgrind (1:3.10.1-1) unstable; urgency=medium * New upstream release * Install all header files again, they are needed to build third-party plugins (Closes: #771900) -- Alessandro Ghedini Sat, 31 Jan 2015 22:00:31 +0100 valgrind (1:3.10.0-4) unstable; urgency=medium * Call dh_shlibdeps unconditionally -- Alessandro Ghedini Sun, 16 Nov 2014 10:52:29 +0100 valgrind (1:3.10.0-3) unstable; urgency=medium * Bump Standards-Version to 3.9.6 (no changes needed) * Fix changelog typo (Closes: #768303) * Fix note about instrumenting i386 binaries on amd64 (Closes: #768412) -- Alessandro Ghedini Fri, 14 Nov 2014 12:46:30 +0100 valgrind (1:3.10.0-2) unstable; urgency=medium * Add note in README.Debian about instrumenting i386 executables on amd64 * Avoid Depends: libc-i386 on valgrind:amd64 (Closes: #762386) -- Alessandro Ghedini Wed, 05 Nov 2014 20:56:12 +0100 valgrind (1:3.10.0-1) unstable; urgency=medium * New upstream release * Drop patches merged upstream: - 10_fix-memcheck-manual.patch - 11_track-af_inet6.patch - 12_glibc-2.19.patch - 13_xabort.patch * Refresh the remaining patches * Build on arm64 and ppc64el * Fix wildcard-matches-nothing-in-dep5-copyright * Fix another spelling-error-in-manpage -- Alessandro Ghedini Sun, 21 Sep 2014 12:04:17 +0200 valgrind (1:3.10.0-0ubuntu1) utopic; urgency=medium * Upstream release 3.10.0. -- Matthias Klose Fri, 12 Sep 2014 14:53:34 +0200 valgrind (1:3.10.0~BETA2-0ubuntu1) utopic; urgency=medium * Upstream release 3.10.0 BETA2. LP: #1355530. -- Matthias Klose Tue, 09 Sep 2014 03:25:01 +0200 valgrind (1:3.10~20140411-0ubuntu1) trusty; urgency=medium * Upstream snapshot from 20140411. LP: #1300070. -- Matthias Klose Fri, 11 Apr 2014 13:07:13 +0200 valgrind (1:3.10~20140329-0ubuntu1) trusty; urgency=medium * Upstream snapshot from 20140329. * Build for AArch64. -- Matthias Klose Sat, 29 Mar 2014 12:02:06 +0100 valgrind (1:3.9.0-7) unstable; urgency=medium * Remove index() Debian-specific suppressions (not needed anymore) * Add 13_xabort.patch to add support for XABORT (Closes: #754496) * Switch to dh-autoreconf * No need to patch 'configure' as well as 'configure.ac' due to autoreconf -- Alessandro Ghedini Wed, 23 Jul 2014 11:47:13 +0200 valgrind (1:3.9.0-6) unstable; urgency=medium * Improve misleading note about suppressions in README.Debian * Add note about valgrind-dbg Recommends in README.Debian * Add 12_glibc-2.19.patch to fix build against glibc 2.19 (Closes: #751701) -- Alessandro Ghedini Sun, 15 Jun 2014 20:20:54 +0200 valgrind (1:3.9.0-5) unstable; urgency=medium * Add 10_fix-memcheck-manual.patch (Closes: #736994) * Add suppressions to avoid errors from index() with newer libc * Add 11_track-af_inet6.patch to fix AF_INET6 sockets tracking (Closes: #733119) -- Alessandro Ghedini Sun, 23 Feb 2014 20:04:38 +0100 valgrind (1:3.9.0-4ubuntu4) trusty; urgency=medium * Build using dh-autoreconf. * Build for ppc64el. -- Matthias Klose Fri, 28 Mar 2014 20:29:02 +0100 valgrind (1:3.9.0-4ubuntu3) trusty; urgency=medium * Add support for glibc-2.19. -- Matthias Klose Tue, 25 Feb 2014 16:56:18 +0100 valgrind (1:3.9.0-4ubuntu1) trusty; urgency=low * Merge with Debian; remaining changes: - Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being. - Lower over-inflated valgrind-dbg Recommends to Suggests instead. - Don't strip vgpreload* on ARM; this results in unusable stack traces without valgrind-dbg. -- Matthias Klose Wed, 08 Jan 2014 08:21:30 +0100 valgrind (1:3.9.0-4) unstable; urgency=medium * Add Breaks+Replaces: valgrind-dev on valgrind -- Alessandro Ghedini Mon, 16 Dec 2013 00:46:58 +0100 valgrind (1:3.9.0-3) unstable; urgency=medium * Revert the move of the headers and pkg-config file to valgrind-dev (cfr: #731228) (Closes: #732239) -- Alessandro Ghedini Mon, 16 Dec 2013 00:20:48 +0100 valgrind (1:3.9.0-2) unstable; urgency=medium * Remove valgrind.manpages (manpages are installed anyway) * Build on mips64 and mips64el (Closes: #729040) * Add 09_fix-armhf-detect.patch to fix FTBFS on armhf (Closes: #730844) * Move headers and pkg-config file to valgrind-dev (Closes: #731228) See Debian.NEWS for more info * Bump Standards-Version to 3.9.5 (no changes needed) -- Alessandro Ghedini Tue, 10 Dec 2013 19:28:22 +0100 valgrind (1:3.9.0-1) unstable; urgency=low * New upstream release * Drop patches merged/fixed upstream: - 01_more-vg-n-segments.patch - 09_valgrind-listener-manpage.patch - 10_unbreak-xinclude-in-manpage.patch - 11_glibc-2.17.patch - 12_bcopy.patch - 13_pthread-cond-init.patch * Refresh patches * Update 08_fix-spelling-in-manpage.patch -- Alessandro Ghedini Tue, 05 Nov 2013 20:54:28 +0100 valgrind (1:3.8.1-6) unstable; urgency=low * Only install BSD-licensed header files (Closes: #725223) * Fix lintian vcs-field-not-canonical * Do not install/use outdated and useless debian-libc6-dbg.supp anymore * Add note in README.Debian about installed suppression files (Closes: #725522) * Do not build on armel anymore (Closes: #720409) -- Alessandro Ghedini Thu, 31 Oct 2013 11:34:53 +0100 valgrind (1:3.8.1-5ubuntu2) trusty; urgency=medium * Build for glibc-2.18. -- Matthias Klose Tue, 24 Dec 2013 09:47:10 +0100 valgrind (1:3.8.1-5ubuntu1) trusty; urgency=low * Resynchronise with Debian. Remaining changes: - Allow specification of an extra directory in which to look for debuginfo objects. - Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being. - Lower over-inflated valgrind-dbg Recommends to Suggests instead. - Don't strip vgpreload* on ARM; this results in unusable stack traces without valgrind-dbg. - Apply patch from https://bugs.kde.org/show_bug.cgi?id=308717, implementing fixed-point VCVT.F64.[SU]32 on ARM. This instruction shows up quite frequently in desktop components. -- Colin Watson Mon, 28 Oct 2013 13:42:46 -0700 valgrind (1:3.8.1-5) unstable; urgency=low * Enable build on x32 architecture (Closes: #718368) * Instrument pthread_cond_init() in Helgrind (Closes: #723699) -- Alessandro Ghedini Tue, 24 Sep 2013 13:01:22 +0200 valgrind (1:3.8.1-4ubuntu1) saucy; urgency=low * Resynchronise with Debian. Remaining changes: - Allow specification of an extra directory in which to look for debuginfo objects. - Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being. - Lower over-inflated valgrind-dbg Recommends to Suggests instead. - Don't strip vgpreload* on ARM; this results in unusable stack traces without valgrind-dbg. - Apply patch from https://bugs.kde.org/show_bug.cgi?id=308717, implementing fixed-point VCVT.F64.[SU]32 on ARM. This instruction shows up quite frequently in desktop components. -- Colin Watson Sun, 02 Jun 2013 21:03:30 +0100 valgrind (1:3.8.1-4) unstable; urgency=low * Build with -mips2 on mipsel. Thanks to Fuxin Zhang (Closes: #710307) * Add 12_bcopy.patch (Closes: #691109) -- Alessandro Ghedini Sat, 01 Jun 2013 15:51:47 +0200 valgrind (1:3.8.1-3ubuntu1) saucy; urgency=low * Resynchronise with Debian. Remaining changes: - Allow specification of an extra directory in which to look for debuginfo objects. - Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being. - Lower over-inflated valgrind-dbg Recommends to Suggests instead. - Don't strip vgpreload* on ARM; this results in unusable stack traces without valgrind-dbg. - Apply patch from https://bugs.kde.org/show_bug.cgi?id=308717, implementing fixed-point VCVT.F64.[SU]32 on ARM. This instruction shows up quite frequently in desktop components. * Drop remaining ppc64 patches; we no longer care about this in Ubuntu, and valgrind seems to build fine on Debian ppc64. * Renumber Ubuntu patches to make future merges easier. -- Colin Watson Thu, 30 May 2013 11:09:43 +0100 valgrind (1:3.8.1-3) unstable; urgency=low * Add 11_glibc-2.17.patch to fix FTBFS with glibc 2.17 (Closes: #707438) -- Alessandro Ghedini Fri, 10 May 2013 18:10:39 +0200 valgrind (1:3.8.1-2) unstable; urgency=low [ Alessandro Ghedini ] * Bump Standards-Version to 3.9.4 (no changes needed) * Quote LD_LIBRARY_PATH in the wrapper script to avoid errors with spaced paths (LP: #880685) * Enable support for mipsel too (Closes: #696850) * Add suppression for dlopen() leak when linking with -lpthread (Closes: #700899) [ Samuel Bronson ] * Allow building more than once from the same tree - Build and ship FAQ.txt from sources, since the bundled copy is deleted on "make clean" * Drop docs/valgrind.1 changes from 08_fix-spelling-in-manpage.patch * Add 10_unbreak-xinclude-in-manpage.patch to fix a broken XInclude (Closes: #696694) -- Alessandro Ghedini Wed, 20 Feb 2013 11:21:07 +0100 valgrind (1:3.8.1-1ubuntu5) raring; urgency=low * Apply patch from https://bugs.kde.org/show_bug.cgi?id=308717, implementing fixed-point VCVT.F64.[SU]32 on ARM. This instruction shows up quite frequently in desktop components. -- Colin Watson Tue, 29 Jan 2013 15:41:11 +0000 valgrind (1:3.8.1-1ubuntu4) raring; urgency=low * Backport from upstream: - Accept glibc 2.17 as valid. -- Colin Watson Tue, 29 Jan 2013 13:36:30 +0000 valgrind (1:3.8.1-1ubuntu3) raring; urgency=low * Don't strip vgpreload* on ARM; this results in unusable stack traces. -- Colin Watson Tue, 29 Jan 2013 11:37:18 +0000 valgrind (1:3.8.1-1ubuntu2) raring; urgency=low * Drop the dh-autoreconf delta, we no longer need this for Ubuntu. * Lower over-inflated valgrind-dbg Recommends to Suggests instead. -- Adam Conrad Sun, 16 Dec 2012 07:53:19 -0700 valgrind (1:3.8.1-1ubuntu1) raring; urgency=low [ Alex Chiang ] * Merge from Debian unstable. - Drop all Ubuntu patches, as they have been applied upstream or are carried in Debian with similar names. - Drop documentation on creating snapshots in debian/copyright, doesn't seem necessary anymore. Remaining changes: - Use dh-autoreconf instead of autotools-dev. - Add ppc64 support: . Build-dep on gcc-multilib and libc6-dev-powerpc on ppc64 * 10_extra-debuginfo-path.patch: allows specification of an extra directory in which to look for debuginfo objects. [ Adam Conrad ] * Remove valgrind-mpi package from Ubuntu and any references to it, as mpi-default-dev is in universe for the time being (Reverts: #565139) -- Alex Chiang Tue, 11 Dec 2012 22:56:07 -0800 valgrind (1:3.8.1-1) unstable; urgency=low * New upstream release * Update 02_version.patch -- Alessandro Ghedini Wed, 19 Sep 2012 19:59:34 +0200 valgrind (1:3.8.0-1) unstable; urgency=low * New upstream release - Increase maximum allowed alignment for memalign (Closes: #489297) - Support for Intel AVX instructions (Closes: #655468) - Fix some C++ template symbols demangling (Closes: #493284) * Fix debian.supp madness (Closes: #661523): - Remove python suppressions from debian.supp (already provided by the python package) - Remove outdated suppressions from debian.supp (i.e. those matching old libraries) - Remove useless suppressions and clean-up remaining * Update upstream copyright * Enable support for mips * Drop 06_fix-configure.patch (fixed upstream) * Refresh patches * Update 07_fix-spelling-in-binary.patch -- Alessandro Ghedini Sat, 11 Aug 2012 14:24:56 +0200 valgrind (1:3.7.0-6) unstable; urgency=low * Explicitly pass -I/usr/include/$(DEB_HOST_GNU_TYPE) compiler flag (Closes: #676029) * Remove ${shlibs:Depends} from valgrind-dbg depends -- Alessandro Ghedini Tue, 05 Jun 2012 12:35:02 +0200 valgrind (1:3.7.0-5) unstable; urgency=low * Build on ppc64 too (Closes: #672481) * Update short and long descriptions * Remove not-needed Provides/Conflicts on valgrind-callgrind * No need to merge xfree-4.supp into debian.supp: it is already provided by default.supp * Enable mpiwrap module (Closes: #565139) - Add new valgrind-mpi package - valgrind Suggests valgrind-mpi * Clean-up rules' dh_install override * Add valgrind-dbg package (cf. #475562) - valgrind Recommends valgrind-dbg * Remove unused lintian overrides * Update debian/copyright using Copyright-Format 1.0 -- Alessandro Ghedini Thu, 17 May 2012 22:03:08 +0200 valgrind (1:3.7.0-4) unstable; urgency=low [ Pierre Habouzit ] * Remove myself as a Maintainer, pass the package to Alessandro. [ Alessandro Ghedini ] * Remove versioned build depends already satisfied in stable * Bump Standards-Version to 3.9.3 * Add debian/watch * Pass CPPFLAGS and LDFLAGS from dpkg-buildflags too * Replace UNRELEASED with unstable in debian/{changelog,NEWS} entry for 3.6.1-5 (fixes debian-news-entry-has-strange-distribution) * Add 0007-fix-spelling-in-binary.patch * Add 0008-fix-spelling-in-manpage.patch * Add more DEP3 headers to the patches * Remove useless debian/dirs file * Use dh_bash-completion to install bash completion file * Use debian/clean file instead of overriding dh_clean * Register HTML manual with doc-base * Install NEWS as upstream changelog * Add Roland to Uploaders * Fix typo in long description (Closes: #643834) * Provide a valgrind-listener manpage - Add 0009-valgrind-listener-manpage.patch Thanks to Cristian Greco (Closes: #632822) -- Alessandro Ghedini Fri, 11 May 2012 17:09:35 +0200 valgrind (1:3.7.0-3) unstable; urgency=low * Set myself as maintainer of valgrind, removing Andrés on his request. Thanks for the more than 7 years of maintenance Andrés! * Add s390x to the Architecture field (Closes: 640154). * Remove s390 that isn't supported upstream anymore. * Make valgrind believe it's cross compiled so that it builds on armel (hopefully), fix configure to deal with gcc version check properly (patches/0006-fix-configure.patch). -- Pierre Habouzit Tue, 28 Feb 2012 11:28:32 +0100 valgrind (1:3.7.0-2) unstable; urgency=low * Fix callgrind_control that should look for valgrind.bin and not "valgrind". Closes: 659215. Thanks to Martin Apel. -- Pierre Habouzit Fri, 10 Feb 2012 14:16:17 +0100 valgrind (1:3.7.0-1) unstable; urgency=low * New upstream release. * refresh 0002-version.patch. * Drop patches merged upstream: - 0005-catch-manpages-errors.patch - 0007-implement-extra-dwarf-ops-gcc-461.patch - 0008-configure-support-linux-3.patch -- Pierre Habouzit Wed, 21 Dec 2011 16:28:29 +0100 valgrind (1:3.7.0-0ubuntu4) quantal; urgency=low * fix-buffer-overflows.patch: fix overflows in vgdb * 05_fix-callgrind_control.patch: fix valgrind process name (LP: #1036283) * fix-VEX-PCMPxSTRx.patch: fix strstr handling (LP: #1027977) -- Julian Taylor Fri, 05 Oct 2012 20:16:28 +0200 valgrind (1:3.7.0-0ubuntu3) precise; urgency=low * Add uinput ioctl wrappers to fix false positive errors. (LP: #958095) - Add 0011-uinput-ioctls.patch. -- Chase Douglas Sat, 17 Mar 2012 12:29:21 -0700 valgrind (1:3.7.0-0ubuntu2) precise; urgency=low * Allow glibc 2.15 in the configure checks. (LP: #934127) - Add 0009-glibc-215.patch, cherry-picked from upstream. - Add 0010-automake-1.11.2.patch by Gregorio Guidi. - Use dh-autoreconf instead of autotools-dev. -- Felix Geyer Fri, 17 Feb 2012 15:06:23 +0200 valgrind (1:3.7.0-0ubuntu1) precise; urgency=low * New upstream release * Drop patches that are applied upstream or no longer relevant: 0003-prevent-gcc-4.6-warnings-with-valgrind.h.patch 0005-catch-manpages-errors.patch 0007-implement-extra-dwarf-ops-gcc-461.patch 0008-configure-support-linux-3.patch * debian/rules: No longer pass -marm, it now builds in Thumb mode on ARM. -- Jani Monoses Fri, 06 Jan 2012 19:01:30 +0200 valgrind (1:3.6.99svn12003-1) experimental; urgency=low * Package a pre 3.7.0 snapshot (up to r12003 on 20110828). * Includes GCC-4.6 DWARF2 fixes hence Closes: 632666 on experimental as well. -- Pierre Habouzit Sun, 28 Aug 2011 23:14:32 +0200 valgrind (1:3.6.99svn11761-1) experimental; urgency=low * Package a pre 3.7.0 snapshot (up to r11761 on 20110517). * 3.7.0 comes with a gdbserver features which mitigates the following bugs: - Gdb interactions are simpler and avoid issues due to embedding (Closes: 309406, 270066, 351823) - this comes with better handling of registers (Closes: 576236). - 3.7.0 has a s390x port, so enable it as an architecture and see where it goes. * remove 0003-prevent-gcc-4.6-warnings-with-valgrind.h.patch since upstream now integrates those changes. * lintian fixes: - add overrides for sgcheck binaries and DSO. - update debhelper version depends to 7.0.50~ as suggested. -- Pierre Habouzit Tue, 17 May 2011 08:47:28 +0200 valgrind (1:3.6.1-6ubuntu2) precise; urgency=low * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. -- Adam Conrad Fri, 02 Dec 2011 17:29:15 -0700 valgrind (1:3.6.1-6ubuntu1) precise; urgency=low * Drop lpia support. * Drop 60_thumb-sigill-fixes dpatch; we're building in ARM mode and Thumb support was implemented upstream differently. * Merge with Debian testing/unstable: - Drop all Ubuntu dpatches, added in Debian as regular patches. - Use DEB_HOST_ARCH_CPU instead of DEB_HOST_GNU_CPU to check the host CPU for consistency with armv7 checks in rules. - Drop noopt rules snippet; should be fixed with new dh-based rules. Remaining changes: - Add ppc64 support: . Build-dep on gcc-multilib and libc6-dev-powerpc on ppc64 . Add ppc64 to valgrind's Architecture list. - Update documentation on creating snapshots in debian/copyright and add debian/valgrind-docs-build.diff to help creating these (works around an issue with building the docs during make dist). - Pass -marm in CFLAGS when DEB_HOST_GNU_CPU is arm, but add note that this is fixed upstream and point at KDE #247978. -- Loïc Minier Mon, 17 Oct 2011 14:41:02 +0200 valgrind (1:3.6.1-6) unstable; urgency=low * Upload with maintainer's consent. * debian/patches/0007-implement-extra-dwarf-ops-gcc-461.patch: + Added; from upstream r11856, makes valgrind work again with binaries built with recent gcc versions (Closes: #632969). * debian/patches/0008-configure-support-linux-3.patch: + Added; from upstream r11796, add support for Linux 3.x to configure script (Closes: #633094). -- Julien BLACHE Fri, 08 Jul 2011 22:28:11 +0200 valgrind (1:3.6.1-5) unstable; urgency=low * debian/rules: - use autotools-dev dh_autotools-dev_updateconfig. - do now strip under /usr/lib/valgrind (Closes: 475562). - use dh 7 to reduce debian/rules cruft. * Add armhf to the supported architectures. -- Pierre Habouzit Mon, 23 May 2011 16:00:59 +0200 valgrind (1:3.6.1-4) unstable; urgency=low * Fix patches/0004-allow-or-quoting-of-strings-in-.valgrindrc.patch: out was copied too early leading to bad option parsing in case of leading spaces (Closes: 626486, 626496). -- Pierre Habouzit Thu, 12 May 2011 19:44:22 +0200 valgrind (1:3.6.1-3) unstable; urgency=low * update 0002-version.patch to loosen the checks on the arm version (Closes: 592614). -- Pierre Habouzit Thu, 12 May 2011 13:35:29 +0200 valgrind (1:3.6.1-2) unstable; urgency=low * Enable valgrind build on armel (Closes: 592614): - s/arm/armel/ in debian/control; - build for armv7 since valgrind doesn't support older arm CPUs, thanks to Loïc Minier for the implementation details. * Add 0004-allow-or-quoting-of-strings-in-.valgrindrc.patch to allow parsing of options with spaces in ~/.valgrindrc (Closes: 507236). * Catch manpages build failures (Closes: 599563) thanks to Stefano Rivera. * Add suppression for __nss_database_lookup leaks in debian.supp (Closes: 598870). * String things not under /usr/lib/valgrind (Closes: 475562), document into the lintian-overrides why it shouldn't be stripped, namely http://valgrind.org/docs/manual/dist.readme-packagers.html. * Add 0006-workaround-SIGSEGV-on-PPC.patch to workaround PPC SIGSEGV (Closes: 603961). -- Pierre Habouzit Tue, 10 May 2011 23:12:23 +0200 valgrind (1:3.6.1-1) unstable; urgency=low * Migrate to format 3.0 (quilt): - use upstream .tar.bz2 directly; - migrate patches from dpatch to debian/patches/*. - valgrind builds twice in a row (Closes: 549554). * Add myself to Uploaders. * New upstream release (Closes: 622586, 625180). * Add patches/0003-prevent-gcc-4.6-warnings-with-valgrind.h.patch to prevent warnings about set but unused variables with gcc-4.6. * debian/control: - Bump standards version (no changes needed). - Add VCS-* Headers. - Add Homepage Header. * Lintian fixes: - Add missing ${misc:Depends} in debian/control. - fix debian-rules-ignores-make-clean-error. - migrate to dh_lintian for overrides, and update them. - remove article from debian/control Description. -- Pierre Habouzit Mon, 09 May 2011 22:55:27 +0200 valgrind (1:3.6.1-0ubuntu3) oneiric; urgency=low * New dpatch, 71_linux-3-support, fixes FTBFS on 3.x kernels (as checked with `uname -r` during build, so doesn't yet affect Ubuntu buildds); from SVN r11796 and r11797; LP: #868004. Refresh autoconf patch. * Rename files and update series to use *.dpatch consistently. -- Loïc Minier Wed, 05 Oct 2011 12:09:53 +0200 valgrind (1:3.6.1-0ubuntu2) oneiric; urgency=low * New dpatch 70_gcc-4.6.1-dwarf-ops_svn-r11856, cherry-picked from SVN r11856; adds support for some DWARF ops that GCC 4.6.1 seems to use (KDE #275284). * Sort patches by patch number in 00list. -- Loïc Minier Tue, 05 Jul 2011 12:07:20 +0200 valgrind (1:3.6.1-0ubuntu1) natty; urgency=low * New upstream release - support for glibc 2.13, fixes FTBFS on all archs. * debian/patches/70_thumb2_fix.dpatch: Drop, included upstream. * debian/patches/02_version.dpatch: * debian/patches/99_autoreconf.dpatch: Update. -- Jani Monoses Sun, 27 Feb 2011 20:24:35 +0200 valgrind (1:3.6.0-0ubuntu3) natty; urgency=low * Build on ppc64. -- Colin Watson Mon, 21 Feb 2011 19:49:23 +0000 valgrind (1:3.6.0-0ubuntu2) natty; urgency=low * debian/patches/70_thumb2_fix.dpatch: Fix unhandled instruction case which prevents running valgrind on Thumb2 armel binaries linked to system libraries. -- Jani Monoses Sat, 22 Jan 2011 00:23:11 +0200 valgrind (1:3.6.0-0ubuntu1) natty; urgency=low * New upstream release * Refresh 02_version.dpatch, 99_autoreconf.dpatch. * Drop 91_build_with_fno_stack_protector.dpatch, integrated upstream. -- Steve Langasek Tue, 07 Dec 2010 19:32:50 +0000 valgrind (1:3.6.0~svn20100724-0ubuntu2) maverick; urgency=low * Remove BUILD_ALL_DOCS=no snippet from rules; this isn't needed anymore as texlive-base got fixed. * Pass CFLAGS to configure, and also to make due to KDE #247980 -- the make part really needs to be reverted as it requires duplicating the upstream flags right now. * Honor noopt in DEB_BUILD_OPTIONS by passing -O0 in CFLAGS when noopt is present. * Pass -marm in CFLAGS when DEB_HOST_GNU_CPU is arm; works around new FTBFS on armel. -- Loïc Minier Sun, 15 Aug 2010 19:55:28 +0200 valgrind (1:3.6.0~svn20100724-0ubuntu1) maverick; urgency=low * New upstream snapshot. - Supports GLIB 2.12; LP: #602132. - Drop dpatch 01_pcm-ioctl; fixed upstream slighlty differently; see KDE #227325. - Drop dpatch 01_more-vg-n-threads; merged upstream. - Drop dpatch 80_splice_backport; merged upstream. - Update dpatch 99-autoreconf. - Update documentation on creating snapshots in debian/copyright and add debian/valgrind-docs-build.diff to help creating these (works around an issue with building the docs during make dist). -- Loïc Minier Sun, 15 Aug 2010 10:54:00 +0200 valgrind (1:3.6.0~svn20100212-0ubuntu5) lucid; urgency=low * No-change rebuild to get the package picked up for building on armel. -- Steve Langasek Tue, 27 Apr 2010 16:04:59 +0100 valgrind (1:3.6.0~svn20100212-0ubuntu4) lucid; urgency=low * New dpatch, 60_thumb-sigill-fixes, from upstream KDE #231108, fixes SIGILLs on startup when build in Thumb mode. This allows valgrind-ing simple ARM-mode binaries, but supporting Thumb-mode binaries requires much larger changes; LP: #537458. -- Loïc Minier Fri, 26 Mar 2010 14:47:17 +0100 valgrind (1:3.6.0~svn20100212-0ubuntu3) lucid; urgency=low * New dpatch, 80_splice_backport, backport of splice() support from r11055; LP: #537688. -- Loïc Minier Sat, 13 Mar 2010 10:36:14 +0100 valgrind (1:3.6.0~svn20100212-0ubuntu2) lucid; urgency=low * Fix typo in 02_version dpatch: default.supp instead of debian.supp. * Only distclean if there's a Makefile. * Clean debian.supp. * Fix dependencies in rules to be -j safe and to patch before configure; also, use $(DPATCH_STAMPFN) dep instead of patch as the latter is PHONY * Forwarded manpage update proposal upstream in KDE #226609 and disabled patch 01_manpage since it fails to unapply due to upstream removing the manpage in distclean. * Configure with --disable-maintainer-mode. * Bump debhelper build-dep to >= 5. -- Loïc Minier Fri, 12 Feb 2010 22:34:11 +0100 valgrind (1:3.6.0~svn20100212-0ubuntu1) lucid; urgency=low * New upstream SVN snapshot from r11040 (and VEX r1959). - Document in copyright that this snapshot tarball was created with "make BUILD_ALL_DOCS=no dist" in svn://svn.valgrind.org/valgrind/trunk while Debian #566591 affects the PDF build. - Also add BUILD_ALL_DOCS=no to rules for the same reason. - Update patch 02_version to apply to configure.in instead of configure and to only patch the version, bug contact, and DEFAULT_SUPP. - Drop patch 92_glibc-2.11-support, in upstream tarball. - Update patch 99_autoreconf. - Add armel to binary package architecture, lots of recent upstream development toward an ARM port recently! :-) -- Loïc Minier Fri, 12 Feb 2010 18:34:15 +0100 valgrind (1:3.6.0~svn11254+nmu1) unstable; urgency=medium * Non-maintainer upload. * Re-upload as 1:3.6.0~svn11254+nmu1 since i386 already had 1:3.6.0~svn11254+b1. * Set urgency to medium. -- gregor herrmann Wed, 20 Oct 2010 17:27:09 +0200 valgrind (1:3.6.0~svn11254-0.1) unstable; urgency=low * Non-maintainer upload. * Fix "Man page misbuilt on i386": add docbook-xml to Build-Depends; thanks to Stefano Rivera for the analysis (closes: #597180). -- gregor herrmann Sat, 09 Oct 2010 00:16:51 +0200 valgrind (1:3.6.0~svn11254) unstable; urgency=low * New SVN snapshot. (Closes: #574810, #592345, #584912, #588997, #588263, #585809, #580210) * debian/control: Dropped build dependency on gcc-4.3 on amd64 (Closes: #559520) * debian/patches/01_more-vg-n-threads.dpatch: - Removed. Already applied by upstream * debian/patches/01_more-vg-n-segments.dpatch - Increased VG_N_SEGMENTS to 25000 (Closes: #491195) * debian/README.Debian: - Updated (Closes: #433426) * debian/valgrind.bash: - Updated to make tools autocomplete well. (Closes: #549218) -- Andrés Roldán Mon, 09 Aug 2010 14:35:45 +0000 valgrind (1:3.5.0+3.6.0svn20100609-1) experimental; urgency=low * New SVN snapshot. -- Andrés Roldán Wed, 09 Jun 2010 01:20:17 +0000 valgrind (1:3.5.0+3.6.0svn20100608-2) experimental; urgency=low * debian/rules: - Remove config.sub and config.guess symlinks before copying. * debian/control: - Added ARM as a supported architecture -- Andrés Roldán Tue, 08 Jun 2010 20:37:48 +0000 valgrind (1:3.5.0+3.6.0svn20100608-1) experimental; urgency=low * New experimental release based on SVN trunk (2010/06/08) * debian/control: - Build-Depend on docbook, docbook-xsl and xsltproc to build documentation. * debian/rules - Create documentation * debian/manpages: - Added additional manpages -- Andrés Roldán Tue, 08 Jun 2010 17:25:27 +0000 valgrind (1:3.5.0-3ubuntu2) lucid; urgency=low * New patches, 92_glibc-2.11-support, cherry-picked from upstream r10941; adds glibc 2.11 support, and 99_autoreconf. -- Loïc Minier Fri, 12 Feb 2010 12:44:53 +0100 valgrind (1:3.5.0-3ubuntu1) lucid; urgency=low * Merge from Debian testing. Remaining changes: - Refresh 91_build_with_fno_stack_protector.dpatch. - Add lpia to Architecture. - Drop completely bogus or'ed build-dep on gcc-4.3 on amd64 * Dropped changes, superseded in Debian: - Move libc6-dbg to Recommends -- Steve Langasek Sat, 05 Dec 2009 01:06:45 +0000 valgrind (1:3.5.0-3) unstable; urgency=low * Rebuilt againts libc6 2.10.1. * debian/control: - Now libc6-dbg is a dependency (valgrind won't work without it now) (Closes: #556542, #556165, #553016) - Valkyrie added to suggested packages. -- Andrés Roldán Tue, 17 Nov 2009 15:12:26 +0000 valgrind (1:3.5.0-2ubuntu2) karmic; urgency=low * Drop completely bogus or'ed build-dep on gcc-4.3 on amd64 - if the package in the archive builds for biarch, we shouldn't allow non-multilib gcc as an alternative, this would just result in a package misbuild. -- Steve Langasek Thu, 08 Oct 2009 01:28:53 +0000 valgrind (1:3.5.0-2ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - Refresh 91_build_with_fno_stack_protector.dpatch. - Add lpia to Architecture. * Move libc6-dbg to Recommends (LP: #423485). -- Kees Cook Fri, 02 Oct 2009 15:51:36 -0700 valgrind (1:3.5.0-2) unstable; urgency=low * debian/control: - Added libc6-dev-i386 to build-dependencies on amd64. May reopen #507752 but closes: #548067. -- Andrés Roldán Thu, 24 Sep 2009 20:18:57 +0000 valgrind (1:3.5.0-1) unstable; urgency=low * New upstream version. (Closes: #545700) * debian/patches/02_version: - Updated to fit this new version (Thanks to Andreas Beckmann) * debian/patches/01_pcm-ioctl.patch: - Updated * debian/patches/01_more-vg-n-threads.dpatch: - Added to increas VG_N_THREADS to 500. (Closes: #514133) * debian/docs: - ACKNOWLEDGEMENTS file is gone * debian/watch: - Added (Again, thanks to Andreas Beckmann) * debian/control: - Removed Uploaders field (Closes: #519380, #540834) * debian/valgrind.bash: - Provides a first bash completion script for valgrind. (Closes: #539137) Thanks to Jerome Reybert * debian/debian.supp: - Updated to fit Debian's libc6 2.10.x -- Andrés Roldán Wed, 09 Sep 2009 16:26:29 +0000 valgrind (1:3.4.1-1ubuntu2) karmic; urgency=low * Rebuild to include suppressions for libc6 2.10.x (LP: #423485). -- Colin Watson Fri, 04 Sep 2009 15:12:18 +0100 valgrind (1:3.4.1-1ubuntu1) jaunty; urgency=low * Merge with Debian; remaining changes: - Add 91_build_with_fno_stack_protector.dpatch. - Add lpia to Architecture. -- Matthias Klose Thu, 05 Mar 2009 18:27:01 +0100 valgrind (1:3.4.1-1) unstable; urgency=low * New upstream release. * debian/debian.supp: - Updated suppressions to fit libc6 2.9.x. (Closes: #516337, #516100) * debian/copyright: - Change the URL of valgrind to www.valgrind.org. (Closes: #518287) * debian/patches/01_valgrind.pc.dpatch: - Removed. Already fixed by upstream. -- Andrés Roldán Thu, 05 Mar 2009 15:19:16 +0000 valgrind (1:3.4.0-1) unstable; urgency=low * New upstream release. (Closes: #512816) * debian/patches/01_valgrindrc.dpatch: - Removed. Already applied by upstream. -- Andrés Roldán Thu, 29 Jan 2009 21:13:26 +0000 valgrind (1:3.3.1-3) unstable; urgency=low * debian/patches/01_valgrindrc.dpatch: - New patch to avoid reading and executing .valgrindrc files unless done by the onwer of the file. This fixes CVE-2008-4865 (Closes: #507312) -- Andrés Roldán Wed, 03 Dec 2008 16:42:11 +0000 valgrind (1:3.3.1-2ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Add 91_build_with_fno_stack_protector.dpatch - Add lpia to Architecture -- Michael Vogt Thu, 19 Jun 2008 09:57:35 +0200 valgrind (1:3.3.1-2) unstable; urgency=low * debian/rules: - Forgot to copy debian-libc6-dbg.supp to /usr/lib/valgrind. (Closes: #486021) -- Andrés Roldán Fri, 13 Jun 2008 02:31:40 +0000 valgrind (1:3.3.1-1) unstable; urgency=low * New upstream version. * Re-debianized from the scratch. * debian/valgrind.sh: - Avoid to add the same suppression on programs that re-execute themselves. (Closes: #479165) * debian/control: - Made valgrind buildable for etch. (Closes: #472335) * Bumped standard version to 3.7.3 -- Andrés Roldán Wed, 11 Jun 2008 23:10:08 +0000 valgrind (1:3.3.0-1ubuntu1) hardy; urgency=low * Merge with Debian, remaining changes: - Add 91_build_with_fno_stack_protector.dpatch - Add lpia to Architecture -- Jonathan Riddell Sun, 06 Jan 2008 11:28:10 +0000 valgrind (1:3.3.0-1) unstable; urgency=low * New upstream release. (Closes: #455855) - Now valgrind will compile natively on glibc > 2.6 (Closes: #453195, #441749) - Suppressions are now updated for the latest glibc on sid. (Closes: #356777) * debian/patches/01_amd64-nops.dpatch: - Removed, already applied by upstream. * debian/patches/01_suppression-strip.dpatch: - Removed. Don't be jealous of your brother, Andy :) * debian/patches/01_valgrind.pc.dpatch: - Corrects pkg-config information. (Closes: #452307) -- Andrés Roldán Wed, 12 Dec 2007 20:39:58 +0000 valgrind (1:3.2.3-3ubuntu2) hardy; urgency=low * Fix FTBS with new libc6 2.7 not recognized by valgrind's configure script (backported from svn) - add debian/patches/92_valgrind-libc6-2.7.dpatch - add debian/patches/99_update_configure.dpatch - update debian/patches/00list -- Fabien Tassin Mon, 10 Dec 2007 20:54:23 +0100 valgrind (1:3.2.3-3ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Build package for lpia - Build using -fno-stack-protector * Drop 21_amd64_kde148447_NEW_nop_codes.dpatch merged into 01_amd64-nops.dpatch - update debian/patches/00list * Bump Standards-Version to 3.7.2 - update debian/control * Drop DH_COMPAT=3 from rules and add compat=5 - update debian/rules - add debian/compat -- Fabien Tassin Tue, 06 Dec 2007 19:11:43 +0100 valgrind (1:3.2.3-3) unstable; urgency=low * debian/FAQ.txt: - Provided there to solve FTBFS if valgrind is built twice in a row (Closes: #424129) * debian/patches/01_amd64-nops.dpatch: - Patch to handle new way of writing NOPs by binutils. (Closes: #437503) * debian/patches/01_configure.dpatch: - Merged into 02_version.patch * debian/patches/03_valgrind-libc6-2.6.dpatch: - Took off from dpatch and merged into debian diff. -- Andrés Roldán Thu, 23 Aug 2007 22:41:13 +0000 valgrind (1:3.2.3-2ubuntu3) gutsy; urgency=low * debian/patches/21_amd64_kde148447_NEW_nop_codes.dpatch: - import patch from http://bugs.kde.org/show_bug.cgi?id=148447#c16 to fix LP: #148465. -- Alexander Sack Sat, 06 Oct 2007 02:27:32 +0200 valgrind (1:3.2.3-2ubuntu2) gutsy; urgency=low * Build package for lpia. -- Matthias Klose Fri, 24 Aug 2007 19:26:18 +0200 valgrind (1:3.2.3-2ubuntu1) gutsy; urgency=low * Merge with Debian; remaining changes: - Build using -fno-stack-protector. -- Matthias Klose Thu, 23 Aug 2007 20:14:42 +0200 valgrind (1:3.2.3-2) unstable; urgency=low * debian/patches/03_valgrind-libc6-2.6.dpatch: - Patch based on Gentoo's to make valgrind compiles under glibc 2.6. Thanks to francesco.pedrini@gmail.com. (Closes: #433899) * debian/control: - Depends on gcc-multilib [amd64] instead of libc6-dev-i386 [amd64] to solve FTBFS on amd64. (Closes: #425834) -- Andrés Roldán Fri, 17 Aug 2007 13:18:21 +0000 valgrind (1:3.2.3-1ubuntu2) gutsy; urgency=low * No-change upload to work around a soyuz bug and build on lpia. -- Adam Conrad Fri, 10 Aug 2007 01:32:33 +1000 valgrind (1:3.2.3-1ubuntu1) gutsy; urgency=low * Merge with Debian; remaining changes: - Build using -fno-stack-protector. - Build-depend on gcc-multilib. -- Matthias Klose Thu, 24 May 2007 13:27:02 +0200 valgrind (1:3.2.3-1) unstable; urgency=low * New upstream version * debian/control: - Removed ia32-libs-dev [amd64] and libc6-dev-i386 [amd64] dependencies. (Closes: #357288, #341186) * debian/valgrind.sh - Removed /usr/X11R6/lib/debug from DBGPATH. (Closes: #365119) * debian/debian.supp: - Added suppressions for glibc static allocations. (Closes: #350347) -- Andrés Roldán Thu, 1 Feb 2007 20:41:46 +0000 valgrind (1:3.2.1-1ubuntu2) feisty; urgency=low * Rebuild for changes in the amd64 toolchain. * Set Ubuntu maintainer address. -- Matthias Klose Mon, 5 Mar 2007 01:27:22 +0000 valgrind (1:3.2.1-1ubuntu1) feisty; urgency=low * Sync with Debian: + debian/control: - Drop build dependency on ia32-libs-dev + debian/patches/91_build_with_fno_stack_protector.dpatch: - Build with -fno-stack-protector to fix FTBFS * debian/glibc-2.5.supp, debian/rules: + Add suppresion file from SVN for glibc 2.5 -- Sebastian Dröge Thu, 16 Nov 2006 17:56:30 +0100 valgrind (1:3.2.1-1) unstable; urgency=low * New upstream release. -- Andrés Roldán Thu, 5 Oct 2006 15:28:35 +0000 valgrind (1:3.2.0-2ubuntu3) edgy; urgency=low * debian/patches/90_from_svn_fix_cfsi_len_assertion.dpatch: - updated the limit, some applications were still not happy with the previous one -- Sebastien Bacher Thu, 12 Oct 2006 00:29:01 +0200 valgrind (1:3.2.0-2ubuntu2) edgy; urgency=low * debian/patches/90_from_svn_fix_cfsi_len_assertion.dpatch: - patch from SVN, fix cfsi->len assertion on amd64 (Ubuntu: #60589) * debian/patches/91_build_with_fno_stack_protector.dpatch: - add -fno-stack-protector to CFLAGS to fix the build -- Sebastien Bacher Fri, 6 Oct 2006 00:40:18 +0200 valgrind (1:3.2.0-2ubuntu1) edgy; urgency=low * Sync with Debian: + Drop build dependency on ia32-libs-dev -- Sebastian Dröge Mon, 26 Jun 2006 00:17:17 +0200 valgrind (1:3.2.0-2) unstable; urgency=low * New upstream release. (Closes: #373578) - Now callgrind is one of the main valgrind tools. - Add conflict (and provide) valgrind-callgrind. * debian/patches/02_load-address: - Not applied as it is not needed anymore. -- Andrés Roldán Thu, 15 Jun 2006 00:21:07 +0000 valgrind (1:3.1.1-1) unstable; urgency=low * Acknowledging NMU. Thanks Kurt. * New upstream release * Updated 02_version and 01_suppression-strip patches * Updated debian.supp * Suggests alleyoop and valgrind-callgrind instead of callgrind -- Andrés Roldán Wed, 29 Mar 2006 22:23:53 +0000 valgrind (1:3.1.0-2.1) unstable; urgency=low * Non-maintainer upload. * Add build dependency on libc6-dev-i386 [amd64] | ia32-libs-dev [amd64] so that it can get build on amd64. (Closes: #341186) -- Kurt Roeckx Sat, 4 Feb 2006 15:12:53 +0100 valgrind (1:3.1.0-2) unstable; urgency=low * debian/control: - Updated package description. - Added powerpc to Architecture list. (Closes: #270557) * Changed valgrind base load address. (Closes: #341252) -- Andrés Roldán Wed, 30 Nov 2005 16:29:24 +0000 valgrind (1:3.1.0-1) unstable; urgency=low * New upstream release. - Now it can load symbol table of large binaries. (Closes: #337196, #319243) - Now it runs on ppc. (Closes: #270557) * debian/patches/01_suppression-strip.dpatch: - Removes an existent Debian suppression. -- Andrés Roldán Mon, 28 Nov 2005 15:48:15 +0000 valgrind (1:3.0.1-2) unstable; urgency=low * debian/patches/02_version.dpatch: - Adds "Debian" to package version string * debian/debian.supp: - Adds suppression for Debian's libc6 2.3.5 dynamic linker. (Closes: #331727, #326832) -- Andrés Roldán Wed, 2 Nov 2005 14:35:58 +0000 valgrind (1:3.0.1-1) unstable; urgency=low * New upstream version. * Standard version is now 3.6.2. -- Andrés Roldán Thu, 1 Sep 2005 16:16:35 +0000 valgrind (1:3.0.0-1) unstable; urgency=low * New upstream release. (Closes: - Now valgrind run on AMD64. * debian/patches/{01_manpage,01_configure,01_pcm-ioctl}.dpatch: - Updated to fit this version. * debian/patches/{01_vgPlain_do_syscall,11_errorcode}.dpatch: - Removed. Not longer needed. -- Andrés Roldán Fri, 12 Aug 2005 14:47:42 +0000 valgrind (1:2.4.1-1) unstable; urgency=low * New stable release. -- Andrés Roldán Tue, 2 Aug 2005 13:00:20 +0000 valgrind (1:2.4.0-3) unstable; urgency=low * debian/valgrind.sh: - Prepends LD_LIBRARY_PATH over DBGPATH. (Closes: #304315) - Adds GLIBCPP_FORCE_NEW=1 (for gcc < 3.4) and GLIBCXX_FORCE_NEW=1 (for gcc >= 3.4) to force C++ STL to use malloc and to free memory by disabling memory caching (Closes: #307956) * debian/patches/01_manpage.dpatch: - New, adds reference to valgrind's authors and contributos on manpage. (Closes: #304902) * debian/patches/01_pcm-ioctl.dpatch: - New, adds PCM ioctls. (Closes: #305051) Patch sent by Samuel Thibault . * debian/debian-libc6-dbg.supp: - Updated. Thanks to Jeremy Nimmer . (Closes: #302250) -- Andrés Roldán Fri, 20 May 2005 10:37:30 +0000 valgrind (1:2.4.0-2) unstable; urgency=low * debian/debian-libc6-dbg.supp: - New file that includes suppressions for libc6-dbg/libpthread library. (Closes: #302250) * debian/valgrind.sh: - As memcheck is officialy the default tool, removed --tool=memcheck from VALGRIND_OPTS. - Will use /usr/lib/debian-libc6-dbg.supp if and only if using libc6-dbg. -- Andrés Roldán Fri, 8 Apr 2005 13:37:28 +0000 valgrind (1:2.4.0-1) unstable; urgency=low * New stable upstream release. * debian/valgrind.1: - Removed as it is already provided and maintained by upstream based on Debian's manpage. (Closes: #293049, #298222) -- Andrés Roldán Mon, 28 Mar 2005 14:59:35 +0000 valgrind (1:2.2.0+2.4.0rc4+1-1) unstable; urgency=low * New RC upstream release. - Fix unexpected SIGSEGV when using memcheck on programs where the first write to a particular 64k chunk is done by the FPU. - Fix a problem with the sys_futex wrapper which was inspecting the wrong arguments for FUTEX_REQUEUE. (Closes: #299514) - Format fixup for a debug printf. -- Andrés Roldán Tue, 15 Mar 2005 13:47:00 +0000 valgrind (1:2.2.0+2.4.0rc4-1) unstable; urgency=low * New RC upstream release. - Make sure that an FP write to a distinguished map makes it un-distinguished. -- Andrés Roldán Mon, 14 Mar 2005 19:32:24 +0000 valgrind (1:2.2.0+2.4.0rc3-1) unstable; urgency=low * New RC upstream release. - Fix which prevents an assertion failure when a threaded program forks, and the child starts a thread. - Fix a problem in which signals which have the default action of "ignore" (SIGCONT, WINCH, USR and CHLD) interrupted a blocked syscall. For these signals, Valgrind doesn't set a signal handler unless the client needs one. - Remove segment merging from mprotect(), which was causing rtldi to trigger a Valgrind internal error. - Fix the parsing of the 'R' floating-point type in the stabs parser. -- Andrés Roldán Sat, 12 Mar 2005 18:39:19 +0000 valgrind (1:2.2.0+2.4.0rc2-1) unstable; urgency=low * Yet another RC upstream version. * debian/patches/12_errhandling.dpatch: - Removed. Already on upstream source. -- Andrés Roldán Fri, 11 Mar 2005 13:38:46 +0000 valgrind (1:2.2.0+2.4.0rc1-1) unstable; urgency=low * New RC upstream release. (See upstream's changelog) (Closes: #296323) - libpthread has gone along with all the bugs associated with it. Instead, Valgrind now emulates the kernel's threading syscalls (clone, etc), and lets the user use your standard system libpthread. (Closes: #283995) - Signal handling should now be indistinguishable from running natively. (Closes: #230785, #252520) - Valgrind is built in Position Independent Executable (PIE) format if the toolchain supports it. This allows it to take advantage of all the available address space on systems with 4Gbyte user address spaces. (Closes: #272270, #288640) * debian/debian.supp: - Added zlib1g suppression. (Closes: #287603) - Added pthread_initialize suppression. * debian/patches/: - Removed some patches as they are already on upstream source. - {01_vgPlain_do_syscall,11_exitcode}.dpatch: Updated. - 12_errhandling.dpatch: Stops the error handling code trying to match object and function names against a suppression if it wasn't able to obtain the relevant name. -- Andrés Roldán Wed, 9 Mar 2005 21:07:41 +0000 valgrind (1:2.2.0-4) unstable; urgency=low * debian/patches/18_cpp-stabs.dpatch: - This patch attempts to fix the parsing of C++ stabs involving :: delimiters. * debian/patches/19_pthread_attr_getinheritsched.dpatch: - Adds a dummy implementation of pthread_attr_getinheritsched. * debian/patches/20_pthread_condattr_getsetpshared.dpatch: - Adds a dummy implementation of pthread_condattr_getpshared and pthread_condattr_setpshared. * debian/valgrind.default: - Removed. Useless file that nobody uses. (Closes: #279705) * debian/debian.supp: - Appended python suppression file provided by python's maintainer. * debian/control: - Suggests valgrind-callgrind instead of valgrind-calltree. (Closes: #278621) * debian/valgrind.sh: - Some cosmetic changes. -- Andrés Roldán Tue, 16 Nov 2004 18:44:04 +0000 valgrind (1:2.2.0-3) unstable; urgency=low * debian/patches/01_cachegrind.dpatch: - Cope with arguments over 510 characters in length when writing the cachegrind output file. * debian/patches/02_cachegrinderrno.dpatch: - This patch makes cachegrind report the reason why it was unable to open the output file. * debian/patches/15_pthread_mutexattr_gettype.dpatch: - Implements pthread_mutexattr_gettype(). * debian/patches/16_pthread_mutex_lock.dpatch: - Warns about a possible deadlock on thread. * debian/patches/17_statvfs64.dpatch: - Fixed the statfs64 wrapper to look at the right argument for the stat buffer and added an fstatfs64 wrapper. * debian/valgrind.sh: - Adds /usr/X11R6/lib/debug to LD_LIBRARY_PATH. (closes: #274972) -- Andrés Roldán Thu, 14 Oct 2004 13:35:43 +0000 valgrind (1:2.2.0-2) unstable; urgency=medium * debian/patches/13_sched_setaffinity-getaffinity.dpatch: - Adds support for sched_setaffinity() and sched_getaffinity() syscalls. * debian/patches/14_ioctls.dpatch: - Adds support for the following ioctls: + TIOCMBIS. + TIOCMBIC. + SG_EMULATED_HOST. + SG_GET_SG_TABLESIZE. + CDROMMULTISESSION. + CDROMVOLREAD. + CDROMREADAUDIO. -- Andrés Roldán Fri, 10 Sep 2004 21:41:45 +0000 valgrind (1:2.2.0-1) unstable; urgency=low * New stable release. (closes: #234030) * Updated patches according to this new version. * Removed some patches already on upstream source. * Make debian.supp the default suppression file for Debian. -- Andrés Roldán Wed, 1 Sep 2004 23:44:33 +0000 valgrind (1:2.1.2-3) unstable; urgency=low * debian/patches/01_libpthread.dpatch: - Patch to improving the logic in valgrind's libpthread that handles looking for functions in libc to forward to. If you have assertions like "Assertion `open_ptr != ((void *)0)", you may love this patch. * debian/patches/01_memcpy.dpatch: - Patch to remove warning when passing an uninitialized pointer to memcpy when length to copy is zero. * debian/patches/02_si_addr-SIGFPE.dpatch: - This patch should make valgrind fixup si_addr in the siginfo structure when SIGFPE is received so that it points at the right instruction. -- Andrés Roldán Thu, 26 Aug 2004 19:16:34 +0000 valgrind (1:2.1.2-2) unstable; urgency=low * debian/patches/01_sfence.dpatch: New. Move the decoding of SFENCE out of the SSE only part of disInstr. * debian/patches/01_ssort.dpatch: New. ssort() failed when signed int return type from comparison is too small to handle result of unsigned int subtraction. * debian/patches/02_sbbl.dpatch: New. gcc sometimes generates "sbbl %reg,%reg" to convert the carry flag into 0 or -1 in reg. This has no actual dependency on reg, but memcheck can't see that, and so will help if reg contains garbage. * debian/valgrind.1: + s/--logfile-fd/--log-fd/ + s/--logfile/--log-file/ + s/--logsocket/--log-socket/ -- Andrés Roldán Sun, 8 Aug 2004 17:08:08 +0000 valgrind (1:2.1.2-1) unstable; urgency=low * New upstream release. (See changelog) (closes: #248887, #258652) * Removed the following patches (already on upstream's package): - 01_hp2ps - 13_detailed_types - 14_db-attach - 15_async_io_syscalls.dpatch - 16_hdio_get_identity - 17_siocgmiiphy-siocgmiireg * Update the following patches: - 01_configure.dpatch - 01_vgPlain_do_syscall.dpatch - 11_exitcode.dpatch - 01_ipc_stuff.dpatch - 10_ansi-vg.dpatch - 12_readdir.dpatch * debian/patches/01_gettid.dpatch: New. Should closes: #238925 -- Andrés Roldán Tue, 20 Jul 2004 21:12:16 +0000 valgrind (1:2.1.1-4) unstable; urgency=low * debian/valgrind.sh: - Quoted VALGRIND_OPTS to avoid conflicts with multiple pre-defined options. (closes: #245241) * debian/valgrind.1: - Documented gen-suppressions option. (closes: #243734) - sed -e 's/Valgrind/\\fIvalgrind\\fP/g' valgrind.1 * debian/patches/15_async_io_syscalls.dpatch: - New. Adds support for asyncronous io syscalls. * debian/patches/16_hdio_get_identity.dpatch: - New. Addes support for HDIO_GET_IDENTITY syscall. * debian/patches/17_siocgmiiphy-siocgmiireg.dpatch: - New. Adds support SIOCGMIIPHY and SIOCGMIIREG. -- Andrés Roldán Sun, 20 Jun 2004 16:58:22 -0500 valgrind (1:2.1.1-3) unstable; urgency=low * debian/valgrind.1: Updated. - Added --track-fds description. - Added lax-ioctls weird hack description. - Added --db-attach description. - Added --db-command description. - Added --tool description. - Removed --gdb-attach description. - sed -e 's/skins/tools/g' - (closes: #241678, #241329) * debian/patches/14_db-attach.dpatch: New. Makes --db-attach=yes work again. (closes: #241676) * debian/patches/01_hp2ps.dpatch: New. Solves problem of massif creating PostScript(R) files. -- Andrés Roldán Thu, 8 Apr 2004 14:19:07 -0500 valgrind (1:2.1.1-2) unstable; urgency=medium * debian/control: sed -ne '/^Description:/,//p' control | sed -e 's/skins/tools/g' * debian/patches/12_readdir.dpatch: New. Add support for readdir syscall. (closes: #237996) * debian/patches/11_exitcode.dpatch: Upgraded. Now --version exits with 0 too. (closes: #238048) * debian/patches/13_detailed_types.dpatch: New. Adds support for --detailed-types option which extract detailed type info from debug sections. -- Andrés Roldán Fri, 19 Mar 2004 08:57:46 -0500 valgrind (1:2.1.1-1) unstable; urgency=low * New upstream version. - This version contains some internal structural changes needed for valgrind's long-term future. These don't affect end-users. It closes: #230785, #221413 - Greater isolation between Valgrind and the program being run, so the program is less likely to inadvertently kill Valgrind by doing wild writes. - Massif: a new space profiling tool. It will tell you in detail where and when your C/C++ code is allocating heap. Draws pretty .ps pictures of memory use against time. A potentially powerful tool for making sense of your program's space use. - Fixes for many bugs, including support for more SSE2/SSE3 instructions, various signal/syscall things, and various problems with debug info readers. (closes: #221659) - glibc 2.3.2 w/NPTL is massively different than what valgrind expects. - It now fully supports sysinfo page in 2.6 kernels. (closes: #217736, #227894, #229706, #230198) * The following patches has been updated: 12_ipc_stuff.dpatch renamed to 01_ipc_stuff.dpatch. 07_more_sem.dpatch renamed to 01_more_sem.dpatch. 10_ansi-vg.dpatch. 11_exitcode.dpatch. * The following patches has been removed. They are already on the upstream package: 10_vg_stabs2.dpatch. 01_vg_symtab2.c.dpatch. 09_vg_stabs.dpatch. 10_epoll.dpatch. * The following patches has been removed. They are useless or deprecated: 01_include-Makefile.am.dpatch. 01_include-Makefile.in.dpatch. 01_watchpoints.dpatch. 06_vg_include.h.dpatch. 10_timestamp.dpatch. 02_stack_addresses.dpatch. * debian/valgrind.doc: Removed PATCHES_APPLIED from the list. * debian/valgrind.default: Updated. Now you can especify valgrind options with VALGRIND_OPTS enviroment variable instead of VGOPTS. * debian/overrides: Added some overrides. * debian/valgrind.sh: Updated. Removed LD_ASSUME_KERNEL variable. Now it should handle things well. Besides, it will use memcheck as the default as now valgrind does not assume a default tool to use. -- Andrés Roldán Sat, 13 Mar 2004 04:32:15 +0000 valgrind (1:2.1.0-9) unstable; urgency=low * debian/patches/12_ipc_stuff.dpatch: New. Adds wrap of struct ipc_kludge to solve FTBFS bug. (closes: #236402) * debian/control: Build-Depends on dpatch (>> 2.0.0). (closes: #237214) -- Andrés Roldán Wed, 10 Mar 2004 14:41:24 +0000 valgrind (1:2.1.0-8) unstable; urgency=low * Fix build failures on woody. Thanks to David Kimdon. (closes: #233498) * Now --help and --version exits with code 0. (closes: #234368) -- Andrés Roldán Tue, 2 Mar 2004 23:55:06 +0000 valgrind (1:2.1.0-7) unstable; urgency=low * Improved watchpoint patch. Thanks again to Robert Walsh . * Added patch to add the --stack-addresses option which is used to show (or not show) the addresses in the stack trace output. * Added patch that lets GDB backtrace through vgPlain_do_syscall. Thanks to Daniel Jacobowitz . (closes: #225475) -- Andrés Roldán Mon, 16 Feb 2004 21:17:42 +0000 valgrind (1:2.1.0-6) unstable; urgency=low * Fixes bug generated by gcc which generates negatively-sized scopes and out of order line number information in the stabs debug info. Really fixes Bug#231093. -- Andrés Roldán Wed, 11 Feb 2004 13:42:04 +0000 valgrind (1:2.1.0-5) unstable; urgency=low * Added support for epoll(4) syscalls, a variant of poll(2). This API is meaningful just for 2.5 and higher kernels. * Upgraded copyright file. The upstream URL has changed and it was not UTF-8 encoded. * Added patch to support the --watchpoint option which allows the application to set a watchpoint on a memory location. See README.Debian for more information. Thanks to Robert Walsh . * Added glib suppression sent by David Schleef . (closes: #231989) * Added patch to make the valgrind.h compile with strict ANSI gcc options. (closes: #231604) -- Andrés Roldán Tue, 10 Feb 2004 18:43:25 +0000 valgrind (1:2.1.0-4) unstable; urgency=low * Added patch that fixes segfault with Objective-C debug info. (closes: #229925) * Added anothers suppressions to mitigate the error output due to missing syscall page support for 2.6 kernels. -- Andrés Roldán Wed, 4 Feb 2004 01:39:02 +0000 valgrind (1:2.1.0-3) unstable; urgency=medium * Applied patch to handle volatile qualifiers with stabs. The former patch just applied the const qualifiers patch. -- Andrés Roldán Sun, 1 Feb 2004 21:15:46 +0000 valgrind (1:2.1.0-2) unstable; urgency=low * Added patch to handle volatile and const qualifiers with stabs. (closes: #226217) * Added patch to show a timestamp in the output with the --time-stamp option. * Added $(MAKE) regtest to check valgrind when it's building. -- Andrés Roldán Mon, 5 Jan 2004 18:59:44 +0000 valgrind (1:2.1.0-1) unstable; urgency=low * New upstream version. - Removed the following patches (already included in main source): 02_valgrind-2.6-headers-fixes 03_vg_main.c 04_vg_syscalls.c 05_vg_replace_malloc.c 07_gettid_syscall 07_lfence_mfence 08_scas - Now blocking syscalls behave behave exactly as they do when running natively (not in valgrind). Hopefully closes: #166514 - Added support for file descriptors leakage checks (--track-fds=yes). When enabled, valgrind will print out a list of open file descriptors on exit. * Increased the number of semaphores supported. (closes: #221745) -- Andrés Roldán Wed, 17 Dec 2003 14:23:06 +0000 valgrind (1:2.0.0-4) unstable; urgency=low * Added new glibc suppressions. * Added stolen from head patch that implements __NR_gettid (syscall 224). * Added stolen from head patch to support LFENCE and MFENCE. * Added stolen from head patch to implement SCAS. * Removed potato suppressions. * Updated sarge suppressions. -- Andrés Roldán Sat, 6 Dec 2003 02:33:13 +0000 valgrind (1:2.0.0-3) unstable; urgency=low * Renamed debian/patches files to the XX_name.dpatch scheme. * Included patch from Jim Meyering to support __NR_statfs64 (syscall 268) and __NR_utimes (syscall 271) syscalls. * Added patch to support posix_memalign function. * Increased the line error message. Useful when your code has long lines. * Improved 03_vg_main.c.dpatch. Hopefully closes: #206917 -- Andrés Roldán Mon, 17 Nov 2003 18:14:02 +0000 valgrind (1:2.0.0-2) unstable; urgency=low * Build-depends and Recommends gdb. When configuring, it tries to determine where is gdb and if it's not installed, --gdb-attach will not work. (closes: #220729) -- Andrés Roldán Fri, 14 Nov 2003 13:39:52 +0000 valgrind (1:2.0.0-1) unstable; urgency=low * New upstream version. - Removed patches to allow valgrind compile under kernel 2.6. It is already on the valgrind upstream source. - Removed compilation with profile support. - Removed patch that solved unhandled instruction bytes problem. It is already on the valgrind upstream source. - Removed patch that solved the stack corruption on valgrind. It is already on the valgrind upstream source. -- Andrés Roldán Thu, 13 Nov 2003 23:06:21 +0000 valgrind (20031012-6) unstable; urgency=low * I didn't want this but even the upstream has not a better solution. It has been added LD_ASSUME_KERNEL=2.4.1 to the valgrind wrapper to solve all the bugs related to NPTL at the moment in valgrind. Really fix #218611 and closes: #220161, #218609 -- Andrés Roldán Tue, 11 Nov 2003 13:10:28 +0000 valgrind (20031012-5) unstable; urgency=low * Compiled with the latest libc6 (2.3.2.ds1-10) that added a patch to disable NPTL for programs that call the old errno. If this bug is still appearing on you, you may as well upgrade to libc6-2.3.2.ds1-10 or newer. (closes: #218611) * Updated README.Debian. Read it please. -- Andrés Roldán Sat, 8 Nov 2003 17:10:09 +0000 valgrind (20031012-4) unstable; urgency=low * Added patch sent from Andrew Moise that solves the bugs arised with the latest libc6. Thanks to him. (closes: #218611, #218629, #218636) -- Andrés Roldán Mon, 3 Nov 2003 03:04:57 +0000 valgrind (20031012-3) unstable; urgency=low * Added patch that solves the unhandled instruction bytes bug found on valgrind. -- Andrés Roldán Mon, 20 Oct 2003 13:50:08 +0000 valgrind (20031012-2) unstable; urgency=low * Removed suggestion of valgrind-headers. (closes: #215262) * Added patch that solves the not-ever-reported bug of stack corruption on valgrind. -- Andrés Roldán Thu, 16 Oct 2003 14:50:22 +0000 valgrind (20031012-1) unstable; urgency=low * New upstream version. -- Andrés Roldán Wed, 15 Oct 2003 21:13:02 +0000 valgrind (20030725-8) unstable; urgency=low * Put together again all the package. I know, that was a bad idea. * Added vg_profile.c to includes. -- Andrés Roldán Fri, 10 Oct 2003 17:36:26 +0000 valgrind (20030725-7) unstable; urgency=low * At last, there has been included a full valgrind manpage written by me. (closes: #166561) -- Andrés Roldán Thu, 2 Oct 2003 20:44:29 +0000 valgrind (20030725-6) unstable; urgency=low * The "I'm feeling smart today (am I?)" release. * Changed maintainer's e-mail. * Bumped Standards-Version to 3.6.1. * Splitted into two packages: valgrind-headers (Headers only needed to create new skins) and valgrind (the core package). * Included "vg_profile.c" to some skins (cachegrind, corecheck, lackey and none) to make them support profiling. * Updated debian/README.Debian and debian/copyright. -- Andrés Roldán Sun, 28 Sep 2003 16:44:04 -0500 valgrind (20030725-5) unstable; urgency=low * Added new XFree86 suppression to sid.supp. * Removed useless build-depend on sharutils. -- Andrés Roldán Sun, 14 Sep 2003 05:12:48 +0000 valgrind (20030725-4) unstable; urgency=low * Now it really compiles on 2.6 kernels. (closes: #208142) -- Andrés Roldán Wed, 3 Sep 2003 22:44:00 +0000 valgrind (20030725-3) unstable; urgency=low * Changed the valgrind wrapper. It didn't work when it was using libraries on a non-standard location. (Thanks Jason :). (closes: #207771) * Added patch to support compilation for 2.6 kernels (closes: #208142) -- Andrés Roldán Mon, 1 Sep 2003 16:38:59 +0000 valgrind (20030725-2) unstable; urgency=low * Added suggestion to use libc6-dbg which shows pretty important debugging information. * Added wrapper to use libc6-dbg if it's installed. * Added sid.supp to work with the newest libc6 version. * Built with newer libc6. * Added patch to support waitpid syscall. (closes: #206366) -- Andrés Roldán Wed, 20 Aug 2003 16:42:37 +0000 valgrind (20030725-1) unstable; urgency=low * New upstream version taken from cvs head. Fixes some minor bugs. * Fixed debian-specific suppressions errors. (closes: #202126) -- Andrés Roldán Tue, 29 Jul 2003 02:07:08 +0000 valgrind (20030716-1) unstable; urgency=low * New upstream version taken from cvs head. (closes: #188155) * Add suggestion to use valgrind-calltree which is needed to make a good use of kcachegrind (closes: #193169) * Bumped Standard-Version to 3.6.0. Changelog and control is now UTF-8 enconded. * Updated long description. -- Andrés Roldán Fri, 18 Jul 2003 14:25:19 +0000 valgrind (1.9.6-1) unstable; urgency=low * New upstream version. * Removed the patch from Anders Gustafsson since it is already on the upstream source. * Added FAQ.txt to documentation (please read it). * Changed default suppresion to sarge.supp. I left woody.supp and potato.supp for compatibility. * Added a stolen-from-HEAD patch from Crispin Flowerday that closes all the opened file descriptors when the work is done. * Added a stolen-from-HEAD patch from Jeffrey Stedfast to avoid confussion when the number of the suppression callers is >= VG_N_SUPP_CALLERS. * Added a stolen-from-HEAD patch from Troels Walsted Hansen that allows reuse of the socket. -- Andrés Roldán Sat, 10 May 2003 18:53:36 +0000 valgrind (1.9.5-2) unstable; urgency=low * Change index.html to manual.html in doc-base (closes: #189749, #190180) * Fixed some minor typo issues. * Added some overrides of some unstripped share objects. * valgrind --help now goes to stdout (closes: #189657) * Applied patch from Anders Gustafsson to make valgrind usable for linux-2.5.68. (closes: #191347) -- Andrés Roldán Sat, 28 Apr 2003 08:45:10 +0000 valgrind (1.9.5-1) unstable; urgency=low * New maintainer. * Began to use the devel branch of valgrind as the default version. See README.Debian. (closes: #166514, #179248, #186924, #179114) * Bumped up Standard-Version according to latest Debian Policy. -- Andrés Roldán Wed, 16 Apr 2003 22:56:26 +0000 valgrind (1.0.4-2.2) unstable; urgency=low * Non-maintainer upload. * Patched to support __NR_exit_group syscall. Requires compilation against a kernel with __NR_exit_group defined. Closes: #179581. * Remove configure generated files. * Add a trailing new line to debian/docs, to quiet dpkg-source. * Remove dh_testroot call from clean target in rules. Closes: #174263. * Fix the config.sub/config.guess out of date problem, by depending on autotools-dev. * Remove call to dh_undocumented. * Remove debian/conffiles, as this is done automatically now. * Fix boilerplate text in debian/copyright, which was from dh_make. * Mostly lintian clean. All that is left is to write some manpages. -- Adam Heath Fri, 7 Feb 2003 13:16:59 -0600 valgrind (1.0.4-2.1) unstable; urgency=low * Non-maintainer upload. * Rebuilt to work with current glibc (closes: #173918). -- Robert Bihlmeyer Thu, 26 Dec 2002 17:55:58 +0100 valgrind (1.0.4-2) unstable; urgency=low * removed the conflicts: against libc6 2.3 -- upstream 1.0.4 is happy with that libc now (Closes: #165361) -- Cyrille Chepelov Wed, 23 Oct 2002 08:46:04 +0200 valgrind (1.0.4-1) unstable; urgency=low * New upstream release * Added a conflicts: against libc6 2.3 until I can investigate more. If things go well, -2 should lift this restriction. * Includes the Call Tree patch-0.2b-valgrind-1.0.4.gz from Josef Weindorfer * Includes the ValGui support patch vg104-after-ct0.2b.diff from Eric Estievenart. * added FAQ.txt to the docs -- Cyrille Chepelov Mon, 21 Oct 2002 07:20:42 +0200 valgrind (1.0.3-2) unstable; urgency=low * added an experimental patch from upstream, valgrind-1.0.3-gcc3.1-and-above-patch1.txt. This should help reducing the amount of noise when compiling with gcc3.1 and above. -- Cyrille Chepelov Tue, 24 Sep 2002 21:23:00 +0200 valgrind (1.0.3-1) unstable; urgency=low * New upstream release (Closes: #160469) * added a "suggests" on kcachegrind * Includes the Call Tree patch-0.2a-valgrind-1.0.2.gz from Josef Weindorfer, to improve compatibility with kcachegrind (Closes: #161208) -- Cyrille Chepelov Thu, 19 Sep 2002 07:20:50 +0200 valgrind (1.0.1-2) unstable; urgency=low * Add forgotten upstream ChangeLog (Closes: #159333) -- Cyrille Chepelov Mon, 2 Sep 2002 18:52:25 +0200 valgrind (1.0.1-1) unstable; urgency=low * New upstream release (Closes: #154921) * added CURRENT_BUG_STATUS to the doc directory. * Using the same maintainer address for all packages, sheesh! -- Cyrille Chepelov Wed, 28 Aug 2002 09:48:30 +0200 valgrind (1.0.0-1) unstable; urgency=low * New upstream release (Closes: #154394) -- Cyrille Chepelov Sat, 27 Jul 2002 16:51:14 +0200 valgrind (1.0pre6-1) unstable; urgency=low * New upstream release -- Cyrille Chepelov Sun, 21 Jul 2002 17:26:16 +0200 valgrind (1.0pre2-2) unstable; urgency=low * removed call to dh_strip, at upstream's request * Added an override against unstripped-binary-or-object, after shaleh gave green light. -- Cyrille Chepelov Fri, 21 Jun 2002 15:12:24 +0200 valgrind (1.0pre2-1) unstable; urgency=low * New upstream release. Should hopefully close #150588. * installs file valgrind.h into /usr/include (Closes: #147718). In fact, install now uses 'make install' which has been available for a while. -- Cyrille Chepelov Fri, 21 Jun 2002 14:26:54 +0200 valgrind (0.0.20020511-1) unstable; urgency=low * New upstream release. Should close #145554; waiting for feedback before closing this bug. -- Cyrille Chepelov Sat, 11 May 2002 21:48:51 +0200 valgrind (0.0.20020503b-2) unstable; urgency=low * Added a "local" suppressions file in the default conffile (Closes #145691 a more complete way without code-level changes). -- Cyrille Chepelov Sun, 5 May 2002 21:52:57 +0200 valgrind (0.0.20020503b-1) unstable; urgency=low * New upstream release. This one fixes a major bug from the last two snapshot packages (20020428 and 20020502). * added forgotten new binary libpthead.so (Closes: #145738) * Added a note in README.Debian about problems with running kernel 2.2 with a binary built using kernel 2.4 (see #145554, which is not fixed yet). * Added a suppression for "ls -l" (Closes: 145727) and added a "debian.supp" temporary suppressions file. These suppressions should all be temporary, until upstream merges them. * Added a file, /etc/default/valgrind, which allows you to tweak default options for valgrind and cachegrind; in particular, the default suppressions file. (Closes: #145691) * Updated the control file to reflect the new features (libpthread, cachegrind) -- Cyrille Chepelov Sun, 5 May 2002 20:26:20 +0200 valgrind (0.0.20020502-1) unstable; urgency=low * New upstream release * Fixed description grammar/typography (Closes: #145311) * Fixed suppressions file generation. Now the package ships with "woody" and "potato" suppressions files (unconditionally uses "woody.supp" by default). (Closes: #145445) * Added a hint in README.Debian about the possibility to use the debugging libc6. -- Cyrille Chepelov Thu, 2 May 2002 19:23:35 +0200 valgrind (0.0.20020428-1) unstable; urgency=low * New upstream release * This package now works only with glibc-2.2 (upstream also supports glibc-2.1) -- Cyrille Chepelov Tue, 30 Apr 2002 07:30:04 +0200 valgrind (0.0.20020329-3) unstable; urgency=low * debian/control: added a build-dependency against glibc-2.2 (prevents attempts to build on potato; previous libc6-dev lacked a #define IPC_64 in linux/ipc.h). This again suggested by Cristian Ionescu-Idbohrn. * Reviewed the upgrading checklist, and bumped up the Standards-Version accordingly. -- Cyrille Chepelov Sat, 6 Apr 2002 21:44:53 +0200 valgrind (0.0.20020329-2) unstable; urgency=low * debian/rules: better cleaned up ./configure-generated files (used distclean rather than clean). * valgrind.1: removed a small inconsistency in the parameter documentation. Both these issues were reported by Cristian Ionescu-Idbohrn -- Cyrille Chepelov Sat, 6 Apr 2002 18:44:07 +0200 valgrind (0.0.20020329-1) unstable; urgency=low * New upstream release * This time hopefully I won't re-upload a previously-rejected version. -- Cyrille Chepelov Sat, 6 Apr 2002 09:41:44 +0200 valgrind (0.0.20020320-1) unstable; urgency=low * New upstream version. * Fixed copyright file, which was lacking a mention of the GPL (oops). * added the README_MISSING_SYSCALL_OR_IOCTL docfile. -- Cyrille Chepelov Thu, 21 Mar 2002 19:05:21 +0100 valgrind (0.0.20020226-2) unstable; urgency=low * Updated description to reflect the fact that funky instruction and clone() are still unsupported. (Closes a comment from Joe Buck ) -- Cyrille Chepelov Wed, 27 Feb 2002 00:53:50 +0100 valgrind (0.0.20020226-1) unstable; urgency=low * New upstream release -- Cyrille Chepelov Tue, 26 Feb 2002 23:53:01 +0100 valgrind (0.0.20020224-1) unstable; urgency=low * Initial Release (closes: #135718) -- Cyrille Chepelov Mon, 25 Feb 2002 20:16:46 +0100 debian/source/0000775000000000000000000000000012253437573010503 5ustar debian/source/format0000664000000000000000000000001412253437573011711 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212253437573010401 0ustar 7 debian/valgrind.bash-completion0000664000000000000000000000673312551411361014014 0ustar #-*- mode: shell-script;-*- # Debian GNU/Linux valgrind(1) completion have valgrind && _valgrind() { local cur prev opts yesno tools choosen_tool i # list of options with yes|no answer yesno="--trace-children\= --child-silent-after-fork\= --track-fds\= --time-stamp\= --log-fd\= --log-socket\=" opts="--tool\= " opts+="-h --help --help-debug --version -q --quiet -v --verbose --log-file\= " COMPREPLY=() # do command completion if one of the arguments prior to the current word is -- for (( i=0; i < COMP_CWORD; i++ )); do if [[ ${COMP_WORDS[i]} == -- ]]; then _command_offset $((i + 1)) return 0 fi done # we check if a tool has been defined for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do if [[ ${COMP_WORDS[i]} == "--tool" ]]; then choosen_tool=${COMP_WORDS[i+2]} fi done # if so, we add its options for the completion case $choosen_tool in 'callgrind') opts+="--callgrind-out-file\= --dump-every-bb\= --dump-before\= --zero-before\= --dump-after\= --toggle-collect\= --separate-recs\= --separate-callers\= --fn-skip\= --fn-group< --separate-recs< --separate-callers< " yesno+="--dump-instr\= --dump-line\= --compress-strings\= --compress-pos\= --combine-dumps\= --instr-atstart\= --collect-atstart\= --collect-jumps\= --separate-threads\= --skip-plt\= --simulate-cache\= --simulate-hwpref\= " ;; 'cachegrind') opts+="--I1\= --D1\= --L2\= --cachegrind-out-file\= " yesno+="--cache-sim\= --branch-sim\= " ;; # as memcheck is the tool by default, we show its options if no tool is specified 'memcheck') yesno+="--undef-value-errors\= --track-origins\= --show-reachable\= --workaround-gcc296-bugs\= --partial-loads-ok\= " opts+="--leak-check\= --leak-resolution\= --freelist-vol\= --malloc-fill\= --free-fill\= " ;; *) yesno+="--undef-value-errors\= --track-origins\= --show-reachable\= --workaround-gcc296-bugs\= --partial-loads-ok\= " opts+="--leak-check\= --leak-resolution\= --freelist-vol\= --malloc-fill\= --free-fill\= " ;; esac opts+="$yesno " cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD - 1]}" # COMPREPLY considers '=' as a word. For $prev we prefer the word before the actual "=" if [[ "$prev" == "=" ]] then prev="${COMP_WORDS[COMP_CWORD - 2]}" elif [[ "$cur" == "=" ]] then cur="" fi # autocompletion for the tool names, e.g. memcheck, callgrind if [[ "$prev" == "--tool" ]] then # the list is automatically built # it is composed of all the executable file in # /usr/lib/valgrind/x86-linux # TODO: correct the path during the installation, according to the platform tools="memcheck cachegrind callgrind massif helgrind lackey none drd exp-bbv exp-ptrcheck" COMPREPLY=( $(compgen -W "$tools" -- $cur ) ) COMPREPLY+=" " return 0 fi if [[ "${yesno}" == *$prev* ]] then COMPREPLY=( $(compgen -W "yes no" -- $cur ) ) COMPREPLY+=" " return 0 fi case "$prev" in --log-file) _filedir return 0 ;; *) ;; esac # Look for options without an argument. if [[ "$cur" == -* ]] then COMPREPLY=( $(compgen -W "$opts" -- $cur) ) return 0 else _filedir return 0 fi } complete -o nospace -F _valgrind valgrind debian/valgrind.install0000664000000000000000000000015112473555303012372 0ustar usr/bin/* usr/include/* usr/share/* usr/lib/* debian/valgrind.sh usr/bin debian/supp/* usr/lib/valgrind debian/patches/0000775000000000000000000000000013116060732010616 5ustar debian/patches/04_workaround-SIGSEGV-on-PPC.patch0000664000000000000000000000112612253437573016510 0ustar Description: Workaround SIGSEGV on PPC Signed-off-by: Pierre Habouzit Origin: vendor Bug-Debian: http://bugs.debian.org/603961 Author: Pierre Habouzit Reviewed-by: Alessandro Ghedini Last-Update: 2012-05-10 --- a/coregrind/m_machine.c +++ b/coregrind/m_machine.c @@ -27,6 +27,10 @@ The GNU General Public License is contained in the file COPYING. */ +#ifdef __powerpc__ +# pragma GCC optimize ("-O0") +#endif + #include "pub_core_basics.h" #include "pub_core_vki.h" #include "pub_core_libcsetjmp.h" // setjmp facilities debian/patches/CVE-2016-4491.patch0000664000000000000000000002274013116051765013254 0ustar Description: fix denial of service via infinite recursion Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=a664c62cf916d036dba3d25973e5bb92c523536e Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4cd77b1236a743dd5d94bc210534856a12e6efe Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 Index: valgrind-3.10.1/coregrind/m_demangle/cp-demangle.c =================================================================== --- valgrind-3.10.1.orig/coregrind/m_demangle/cp-demangle.c 2017-06-07 15:28:50.947071631 -0400 +++ valgrind-3.10.1/coregrind/m_demangle/cp-demangle.c 2017-06-07 15:28:50.935071516 -0400 @@ -186,10 +186,10 @@ static struct demangle_component *d_mang static struct demangle_component *d_type (struct d_info *); #define cplus_demangle_print d_print -static char *d_print (int, const struct demangle_component *, int, size_t *); +static char *d_print (int, struct demangle_component *, int, size_t *); #define cplus_demangle_print_callback d_print_callback -static int d_print_callback (int, const struct demangle_component *, +static int d_print_callback (int, struct demangle_component *, demangle_callbackref, void *); #define cplus_demangle_init_info d_init_info @@ -278,7 +278,7 @@ struct d_print_mod in which they appeared in the mangled string. */ struct d_print_mod *next; /* The modifier. */ - const struct demangle_component *mod; + struct demangle_component *mod; /* Whether this modifier was printed. */ int printed; /* The list of templates which applies to this modifier. */ @@ -334,6 +334,9 @@ struct d_info_checkpoint int expansion; }; +/* Maximum number of times d_print_comp may be called recursively. */ +#define MAX_RECURSION_COUNT 1024 + enum { D_PRINT_BUFFER_LENGTH = 256 }; struct d_print_info { @@ -356,6 +359,9 @@ struct d_print_info struct d_print_mod *modifiers; /* Set to 1 if we saw a demangling error. */ int demangle_failure; + /* Number of times d_print_comp was recursively called. Should not + be bigger than MAX_RECURSION_COUNT. */ + int recursion; /* The current index into any template argument packs we are using for printing. */ int pack_index; @@ -538,7 +544,7 @@ static inline void d_append_string (stru static inline char d_last_char (struct d_print_info *); static void -d_print_comp (struct d_print_info *, int, const struct demangle_component *); +d_print_comp (struct d_print_info *, int, struct demangle_component *); static void d_print_java_identifier (struct d_print_info *, const char *, int); @@ -547,23 +553,23 @@ static void d_print_mod_list (struct d_print_info *, int, struct d_print_mod *, int); static void -d_print_mod (struct d_print_info *, int, const struct demangle_component *); +d_print_mod (struct d_print_info *, int, struct demangle_component *); static void d_print_function_type (struct d_print_info *, int, - const struct demangle_component *, + struct demangle_component *, struct d_print_mod *); static void d_print_array_type (struct d_print_info *, int, - const struct demangle_component *, + struct demangle_component *, struct d_print_mod *); static void -d_print_expr_op (struct d_print_info *, int, const struct demangle_component *); +d_print_expr_op (struct d_print_info *, int, struct demangle_component *); static void -d_print_cast (struct d_print_info *, int, const struct demangle_component *); +d_print_cast (struct d_print_info *, int, struct demangle_component *); static int d_demangle_callback (const char *, int, demangle_callbackref, void *); @@ -895,6 +901,7 @@ d_make_empty (struct d_info *di) if (di->next_comp >= di->num_comps) return NULL; p = &di->comps[di->next_comp]; + p->d_printing = 0; ++di->next_comp; return p; } @@ -3976,6 +3983,7 @@ d_print_init (struct d_print_info *dpi, dpi->opaque = opaque; dpi->demangle_failure = 0; + dpi->recursion = 0; dpi->component_stack = NULL; @@ -4072,7 +4080,7 @@ d_last_char (struct d_print_info *dpi) CP_STATIC_IF_GLIBCPP_V3 int cplus_demangle_print_callback (int options, - const struct demangle_component *dc, + struct demangle_component *dc, demangle_callbackref callback, void *opaque) { struct d_print_info dpi; @@ -4111,7 +4119,7 @@ cplus_demangle_print_callback (int optio CP_STATIC_IF_GLIBCPP_V3 char * -cplus_demangle_print (int options, const struct demangle_component *dc, +cplus_demangle_print (int options, struct demangle_component *dc, int estimate, size_t *palc) { struct d_growable_string dgs; @@ -4240,7 +4248,7 @@ d_pack_length (const struct demangle_com static void d_print_subexpr (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + struct demangle_component *dc) { int simple = 0; if (dc->type == DEMANGLE_COMPONENT_NAME @@ -4315,11 +4323,11 @@ d_get_saved_scope (struct d_print_info * static void d_print_comp_inner (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + struct demangle_component *dc) { /* Magic variable to let reference smashing skip over the next modifier without needing to modify *dc. */ - const struct demangle_component *mod_inner = NULL; + struct demangle_component *mod_inner = NULL; /* Variable used to store the current templates while a previously captured scope is used. */ @@ -4700,7 +4708,7 @@ d_print_comp_inner (struct d_print_info case DEMANGLE_COMPONENT_RVALUE_REFERENCE: { /* Handle reference smashing: & + && = &. */ - const struct demangle_component *sub = d_left (dc); + struct demangle_component *sub = d_left (dc); if (sub->type == DEMANGLE_COMPONENT_TEMPLATE_PARAM) { struct d_saved_scope *scope = d_get_saved_scope (dpi, sub); @@ -5382,9 +5390,17 @@ d_print_comp_inner (struct d_print_info static void d_print_comp (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + struct demangle_component *dc) { struct d_component_stack self; + if (dc == NULL || dc->d_printing > 1 || dpi->recursion > MAX_RECURSION_COUNT) + { + d_print_error (dpi); + return; + } + + dc->d_printing++; + dpi->recursion++; self.dc = dc; self.parent = dpi->component_stack; @@ -5393,6 +5409,8 @@ d_print_comp (struct d_print_info *dpi, d_print_comp_inner (dpi, options, dc); dpi->component_stack = self.parent; + dc->d_printing--; + dpi->recursion--; } /* Print a Java dentifier. For Java we try to handle encoded extended @@ -5543,7 +5561,7 @@ d_print_mod_list (struct d_print_info *d static void d_print_mod (struct d_print_info *dpi, int options, - const struct demangle_component *mod) + struct demangle_component *mod) { switch (mod->type) { @@ -5612,7 +5630,7 @@ d_print_mod (struct d_print_info *dpi, i static void d_print_function_type (struct d_print_info *dpi, int options, - const struct demangle_component *dc, + struct demangle_component *dc, struct d_print_mod *mods) { int need_paren; @@ -5694,7 +5712,7 @@ d_print_function_type (struct d_print_in static void d_print_array_type (struct d_print_info *dpi, int options, - const struct demangle_component *dc, + struct demangle_component *dc, struct d_print_mod *mods) { int need_space; @@ -5748,7 +5766,7 @@ d_print_array_type (struct d_print_info static void d_print_expr_op (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + struct demangle_component *dc) { if (dc->type == DEMANGLE_COMPONENT_OPERATOR) d_append_buffer (dpi, dc->u.s_operator.op->name, @@ -5761,7 +5779,7 @@ d_print_expr_op (struct d_print_info *dp static void d_print_cast (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + struct demangle_component *dc) { struct d_print_template dpt; Index: valgrind-3.10.1/coregrind/m_demangle/demangle.h =================================================================== --- valgrind-3.10.1.orig/coregrind/m_demangle/demangle.h 2017-06-07 15:28:50.947071631 -0400 +++ valgrind-3.10.1/coregrind/m_demangle/demangle.h 2017-06-07 15:28:50.943071592 -0400 @@ -457,6 +457,11 @@ struct demangle_component /* The type of this component. */ enum demangle_component_type type; + /* Guard against recursive component printing. + Initialize to zero. Private to d_print_comp. + All other fields are final after initialization. */ + int d_printing; + union { /* For DEMANGLE_COMPONENT_NAME. */ @@ -651,7 +656,7 @@ cplus_demangle_v3_components (const char extern char * cplus_demangle_print (int options, - const struct demangle_component *tree, + struct demangle_component *tree, int estimated_length, size_t *p_allocated_size); @@ -671,7 +676,7 @@ cplus_demangle_print (int options, extern int cplus_demangle_print_callback (int options, - const struct demangle_component *tree, + struct demangle_component *tree, demangle_callbackref callback, void *opaque); #ifdef __cplusplus debian/patches/07_fix-spelling-in-binary.patch0000664000000000000000000000551312463241167016447 0ustar Description: Fix spelling-error-in-binary found by lintian Origin: vendor Author: Alessandro Ghedini Reviewed-by: Alessandro Ghedini Last-Update: 2013-11-04 --- a/coregrind/m_commandline.c +++ b/coregrind/m_commandline.c @@ -66,7 +66,7 @@ fd = VG_(open)(filename, 0, VKI_S_IRUSR); if ( !sr_isError(fd) ) { Int res = VG_(fstat)( sr_Res(fd), &stat_buf ); - // Ignore if not owned by current user or world writeable (CVE-2008-4865) + // Ignore if not owned by current user or world writable (CVE-2008-4865) if (!res && stat_buf.uid == VG_(geteuid)() && (!(stat_buf.mode & VKI_S_IWOTH))) { if ( stat_buf.size > 0 ) { --- a/coregrind/m_gdbserver/server.c +++ b/coregrind/m_gdbserver/server.c @@ -240,7 +240,7 @@ " v.do expensive_sanity_check_general : do an expensive sanity check now\n" " v.info gdbserver_status : show gdbserver status\n" " v.info memory [aspacemgr] : show valgrind heap memory stats\n" -" (with aspacemgr arg, also shows valgrind segments on log ouput)\n" +" (with aspacemgr arg, also shows valgrind segments on log output)\n" " v.info exectxt : show stacktraces and stats of all execontexts\n" " v.info scheduler : show valgrind thread state and stacktrace\n" " v.info stats : show various valgrind and tool stats\n" @@ -249,7 +249,7 @@ " Valgrind internal host status/memory\n" " v.translate [] : debug translation of with \n" " (default traceflags 0b00100000 : show after instrumentation)\n" -" An additional flag 0b100000000 allows to show gdbserver instrumentation\n"); +" An additional flag 0b100000000 allows one to show gdbserver instrumentation\n"); } break; case 1: /* v.set */ --- a/VEX/priv/ir_defs.c +++ b/VEX/priv/ir_defs.c @@ -4430,7 +4430,7 @@ if (bb->stmts_used < 0 || bb->stmts_size < 8 || bb->stmts_used > bb->stmts_size) /* this BB is so strange we can't even print it */ - vpanic("sanityCheckIRSB: stmts array limits wierd"); + vpanic("sanityCheckIRSB: stmts array limits weird"); /* Ensure each temp has a plausible type. */ for (i = 0; i < n_temps; i++) { --- a/gdbserver_tests/mchelp.stdoutB.exp +++ b/gdbserver_tests/mchelp.stdoutB.exp @@ -61,7 +61,7 @@ v.do expensive_sanity_check_general : do an expensive sanity check now v.info gdbserver_status : show gdbserver status v.info memory [aspacemgr] : show valgrind heap memory stats - (with aspacemgr arg, also shows valgrind segments on log ouput) + (with aspacemgr arg, also shows valgrind segments on log output) v.info exectxt : show stacktraces and stats of all execontexts v.info scheduler : show valgrind thread state and stacktrace v.info stats : show various valgrind and tool stats debian/patches/09_fix-armhf-detect.patch0000664000000000000000000000057612463241167015315 0ustar Description: Fix FTBFS on armhf by correctly detecting the architecture Origin: vendor Bug-Debian: http://bugs.debian.org/730844 Author: Alessandro Ghedini Last-Update: 2013-11-30 --- a/configure.ac +++ b/configure.ac @@ -212,7 +212,7 @@ ARCH_MAX="s390x" ;; - armv7*) + arm*) AC_MSG_RESULT([ok (${host_cpu})]) ARCH_MAX="arm" ;; debian/patches/CVE-2016-4489.patch0000664000000000000000000000137713116051732013260 0ustar Description: fix integer overflow in gnu_special Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=053ec2207203a194d2ae82e2f164009aad3f14d2 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70492 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:03:33.404287436 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:04:14.928714539 -0400 @@ -3014,6 +3014,11 @@ gnu_special (struct work_stuff *work, co success = 1; break; } + else if (n == -1) + { + success = 0; + break; + } } else { debian/patches/CVE-2016-2226.patch0000664000000000000000000000600013116054262013230 0ustar Description: fix integer overflow in string_appends Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b8106f544a7fd485b6959ebd197bdd99a8884416 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69687 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cplus-dem.c 2016-07-14 17:59:54.000000000 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:02:29.755632207 -0400 @@ -65,6 +65,15 @@ void * realloc (); #endif /* ! in valgrind */ #if 0 /* in valgrind */ +#ifdef HAVE_LIMITS_H +#include +#endif +#endif /* ! in valgrind */ +#ifndef INT_MAX +# define INT_MAX (int)(((unsigned int) ~0) >> 1) /* 0x7FFFFFFF */ +#endif + +#if 0 /* in valgrind */ #include #undef CURRENT_DEMANGLING_STYLE #define CURRENT_DEMANGLING_STYLE work->options @@ -4265,6 +4274,8 @@ remember_type (struct work_stuff *work, } else { + if (work -> typevec_size > INT_MAX / 2) + xmalloc_failed (INT_MAX); work -> typevec_size *= 2; work -> typevec = XRESIZEVEC (char *, work->typevec, work->typevec_size); @@ -4292,6 +4303,8 @@ remember_Ktype (struct work_stuff *work, } else { + if (work -> ksize > INT_MAX / 2) + xmalloc_failed (INT_MAX); work -> ksize *= 2; work -> ktypevec = XRESIZEVEC (char *, work->ktypevec, work->ksize); @@ -4321,6 +4334,8 @@ register_Btype (struct work_stuff *work) } else { + if (work -> bsize > INT_MAX / 2) + xmalloc_failed (INT_MAX); work -> bsize *= 2; work -> btypevec = XRESIZEVEC (char *, work->btypevec, work->bsize); @@ -4791,6 +4806,8 @@ string_need (string *s, int n) else if (s->e - s->p < n) { tem = s->p - s->b; + if (n > INT_MAX / 2 - tem) + xmalloc_failed (INT_MAX); n += tem; n *= 2; s->b = XRESIZEVEC (char, s->b, n); Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/vg_libciface.h =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/vg_libciface.h 2017-06-07 15:43:46.000000000 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/vg_libciface.h 2017-06-07 15:44:57.880345612 -0400 @@ -69,11 +69,20 @@ #define xmalloc(_nn) \ VG_(arena_malloc)(VG_AR_DEMANGLE, "m_demangle.xmalloc", (_nn)) +#define xmalloc_failed(_sz) abort() #define xrealloc(_pt,_sz) \ VG_(arena_realloc)(VG_AR_DEMANGLE,"m_demangle.xrealloc",(_pt),(_sz)) #define xstrdup(_str) \ VG_(arena_strdup)(VG_AR_DEMANGLE,"m_demangle.xstrdup",(_str)) +static inline void *xmemdup(const void *in, size_t c_size, size_t a_size) { + void *dst; + dst = VG_(arena_malloc)(VG_AR_DEMANGLE, "m_demangle.xmemdup", a_size); + if (a_size > c_size) + memset ((char *) dst + c_size, 0, a_size - c_size); + return memcpy (dst, in, c_size); +} + /* Required by safe-ctype.h */ #undef EOF debian/patches/CVE-2016-4492_4493.patch0000664000000000000000000000342213116051745013732 0ustar Description: fix buffer overflow in do_type Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b6616075cb48d42a28cc78ca1c66127b671b361c Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70926 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:04:14.928714539 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:06:27.122072348 -0400 @@ -2057,7 +2057,8 @@ demangle_template_value_parm (struct wor else { int symbol_len = consume_count (mangled); - if (symbol_len == -1) + if (symbol_len == -1 + || symbol_len > (long) strlen (*mangled)) return -1; if (symbol_len == 0) string_appendn (s, "0", 1); @@ -3617,7 +3618,7 @@ do_type (struct work_stuff *work, const /* A back reference to a previously seen type */ case 'T': (*mangled)++; - if (!get_count (mangled, &n) || n >= work -> ntypes) + if (!get_count (mangled, &n) || n < 0 || n >= work -> ntypes) { success = 0; } @@ -3795,7 +3796,7 @@ do_type (struct work_stuff *work, const /* A back reference to a previously seen squangled type */ case 'B': (*mangled)++; - if (!get_count (mangled, &n) || n >= work -> numb) + if (!get_count (mangled, &n) || n < 0 || n >= work -> numb) success = 0; else string_append (result, work->btypevec[n]); @@ -4143,7 +4144,8 @@ do_hpacc_template_literal (struct work_s literal_len = consume_count (mangled); - if (literal_len <= 0) + if (literal_len <= 0 + || literal_len > (long) strlen (*mangled)) return 0; /* Literal parameters are names of arrays, functions, etc. and the debian/patches/series0000664000000000000000000000063113116060612012030 0ustar 03_allow-or-quoting-of-strings-in-.valgrindrc.patch 04_workaround-SIGSEGV-on-PPC.patch 05_fix-callgrind_control.patch 07_fix-spelling-in-binary.patch 08_fix-spelling-in-manpage.patch 09_fix-armhf-detect.patch glibc-2.21.diff hwcaps-fix.patch CVE-2016-2226.patch CVE-2016-4487_4488.patch CVE-2016-4489.patch CVE-2016-4490.patch CVE-2016-4492_4493.patch CVE-2016-6131.patch CVE-2016-4491.patch new_kernel.patch debian/patches/CVE-2016-4487_4488.patch0000664000000000000000000000155213116051724013741 0ustar Description: fix use-after-free vulnerabilities Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=be3004dc350a820a5b0320b34bd05673ba534058 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70481 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:02:29.755632207 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:03:33.404287436 -0400 @@ -1250,11 +1250,13 @@ squangle_mop_up (struct work_stuff *work { free ((char *) work -> btypevec); work->btypevec = NULL; + work->bsize = 0; } if (work -> ktypevec != NULL) { free ((char *) work -> ktypevec); work->ktypevec = NULL; + work->ksize = 0; } } debian/patches/CVE-2016-6131.patch0000664000000000000000000001266513116054276013252 0ustar Description: fix denial of service via infinite recursion Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ebcc31144416b524ea556708c32304c53b439724 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71696 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:06:27.122072348 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cplus-dem.c 2017-06-07 15:07:03.786448455 -0400 @@ -164,6 +164,9 @@ struct work_stuff string* previous_argument; /* The last function argument demangled. */ int nrepeats; /* The number of times to repeat the previous argument. */ + int *proctypevec; /* Indices of currently processed remembered typevecs. */ + int proctypevec_size; + int nproctypes; }; #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI) @@ -448,6 +451,10 @@ iterate_demangle_function (struct work_s static void remember_type (struct work_stuff *, const char *, int); +static void push_processed_type (struct work_stuff *, int); + +static void pop_processed_type (struct work_stuff *); + static void remember_Btype (struct work_stuff *, const char *, int, int); static int register_Btype (struct work_stuff *); @@ -1307,6 +1314,10 @@ work_stuff_copy_to_from (struct work_stu memcpy (to->btypevec[i], from->btypevec[i], len); } + if (from->proctypevec) + to->proctypevec = + XDUPVEC (int, from->proctypevec, from->proctypevec_size); + if (from->ntmpl_args) to->tmpl_argvec = XNEWVEC (char *, from->ntmpl_args); @@ -1335,11 +1346,17 @@ delete_non_B_K_work_stuff (struct work_s /* Discard the remembered types, if any. */ forget_types (work); - if (work -> typevec != NULL) + if (work->typevec != NULL) { - free ((char *) work -> typevec); - work -> typevec = NULL; - work -> typevec_size = 0; + free ((char *) work->typevec); + work->typevec = NULL; + work->typevec_size = 0; + } + if (work->proctypevec != NULL) + { + free (work->proctypevec); + work->proctypevec = NULL; + work->proctypevec_size = 0; } if (work->tmpl_argvec) { @@ -3559,6 +3576,8 @@ static int do_type (struct work_stuff *work, const char **mangled, string *result) { int n; + int i; + int is_proctypevec; int done; int success; string decl; @@ -3571,6 +3590,7 @@ do_type (struct work_stuff *work, const done = 0; success = 1; + is_proctypevec = 0; while (success && !done) { int member; @@ -3623,8 +3643,15 @@ do_type (struct work_stuff *work, const success = 0; } else - { - remembered_type = work -> typevec[n]; + for (i = 0; i < work->nproctypes; i++) + if (work -> proctypevec [i] == n) + success = 0; + + if (success) + { + is_proctypevec = 1; + push_processed_type (work, n); + remembered_type = work->typevec[n]; mangled = &remembered_type; } break; @@ -3847,6 +3874,9 @@ do_type (struct work_stuff *work, const string_delete (result); string_delete (&decl); + if (is_proctypevec) + pop_processed_type (work); + if (success) /* Assume an integral type, if we're not sure. */ return (int) ((tk == tk_none) ? tk_integral : tk); @@ -4267,6 +4297,41 @@ do_arg (struct work_stuff *work, const c } static void +push_processed_type (struct work_stuff *work, int typevec_index) +{ + if (work->nproctypes >= work->proctypevec_size) + { + if (!work->proctypevec_size) + { + work->proctypevec_size = 4; + work->proctypevec = XNEWVEC (int, work->proctypevec_size); + } + else + { + if (work->proctypevec_size < 16) + /* Double when small. */ + work->proctypevec_size *= 2; + else + { + /* Grow slower when large. */ + if (work->proctypevec_size > (INT_MAX / 3) * 2) + xmalloc_failed (INT_MAX); + work->proctypevec_size = (work->proctypevec_size * 3 / 2); + } + work->proctypevec + = XRESIZEVEC (int, work->proctypevec, work->proctypevec_size); + } + } + work->proctypevec [work->nproctypes++] = typevec_index; +} + +static void +pop_processed_type (struct work_stuff *work) +{ + work->nproctypes--; +} + +static void remember_type (struct work_stuff *work, const char *start, int len) { char *tem; @@ -4530,10 +4595,13 @@ demangle_args (struct work_stuff *work, { string_append (declp, ", "); } + push_processed_type (work, t); if (!do_arg (work, &tem, &arg)) { + pop_processed_type (work); return (0); } + pop_processed_type (work); if (PRINT_ARG_TYPES) { string_appends (declp, &arg); Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/vg_libciface.h =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/vg_libciface.h 2017-06-07 15:45:44.088783362 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/vg_libciface.h 2017-06-07 15:46:20.081124635 -0400 @@ -105,6 +105,8 @@ static inline void *xmemdup(const void * #define XNEW(_Ty) \ ((_Ty *) xmalloc(sizeof (_Ty))) +#define XDUPVEC(T, P, N) \ + ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) /*--------------------------------------------------------------------*/ /*--- end vg_libciface.h ---*/ debian/patches/glibc-2.21.diff0000664000000000000000000000126412505073401013111 0ustar Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -1018,6 +1018,13 @@ case "${GLIBC_VERSION}" in DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" ;; + 2.21) + AC_MSG_RESULT(2.21 family) + AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.x]) + DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; darwin) AC_MSG_RESULT(Darwin) AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) debian/patches/08_fix-spelling-in-manpage.patch0000664000000000000000000000744012463241167016575 0ustar Description: Fix spelling-error-in-manpage found by lintian Origin: vendor Author: Alessandro Ghedini Reviewed-by: Alessandro Ghedini Last-Update: 2013-11-04 --- a/drd/docs/drd-manual.xml +++ b/drd/docs/drd-manual.xml @@ -356,7 +356,7 @@ Data races that occur between a statement at the end of one thread and another thread can be missed if memory access information is discarded immediately after a thread has been joined. This option - allows to specify for how many joined threads memory access information + allows one to specify for how many joined threads memory access information should be retained. @@ -455,7 +455,7 @@ Perform segment merging only after the specified number of new segments have been created. This is an advanced configuration option - that allows to choose whether to minimize DRD's memory usage by + that allows one to choose whether to minimize DRD's memory usage by choosing a low value or to let DRD run faster by choosing a slightly higher value. The optimal value for this parameter depends on the program being analyzed. The default value works well for most programs. @@ -992,7 +992,7 @@ applications contain intentional races. There exist e.g. applications where the same value is assigned to a shared variable from two different threads. It may be more convenient to suppress such races than to solve - these. This client request allows to suppress such races. + these. This client request allows one to suppress such races. @@ -1033,7 +1033,7 @@ The client request VG_USERREQ__DRD_START_TRACE_ADDR, - which allows to trace all load and store activity for the specified + which allows one to trace all load and store activity for the specified address range. @@ -1357,7 +1357,7 @@ OpenMP stands for Open Multi-Processing. The OpenMP standard consists of a set of compiler directives for C, C++ and Fortran programs that allows a compiler to transform a sequential program into a -parallel program. OpenMP is well suited for HPC applications and allows to +parallel program. OpenMP is well suited for HPC applications and allows one to work at a higher level compared to direct use of the POSIX threads API. While OpenMP ensures that the POSIX API is used correctly, OpenMP programs can still contain data races. So it definitely makes sense to verify OpenMP programs --- a/docs/vgdb.1 +++ b/docs/vgdb.1 @@ -114,7 +114,7 @@ .PP \fB\-\-port=\fR .RS 4 -Instructs vgdb to use tcp/ip and listen for GDB on the specified port nr rather than to use a pipe to communicate with GDB\&. Using tcp/ip allows to have GDB running on one computer and debugging a Valgrind process running on another target computer\&. Example: +Instructs vgdb to use tcp/ip and listen for GDB on the specified port nr rather than to use a pipe to communicate with GDB\&. Using tcp/ip allows one to have GDB running on one computer and debugging a Valgrind process running on another target computer\&. Example: .sp .if n \{\ .RS 4 --- a/docs/xml/manual-core.xml +++ b/docs/xml/manual-core.xml @@ -2027,7 +2027,7 @@ knowledge of the glibc stack cache implementation and by examining the debug information of the pthread library. This technique is thus somewhat fragile and might - not work for all glibc versions. This has been succesfully + not work for all glibc versions. This has been successfully tested with various glibc versions (e.g. 2.11, 2.16, 2.18) on various platforms. debian/patches/new_kernel.patch0000664000000000000000000000230513116060732013770 0ustar Description: fix building on newer kernels Origin: backported from newer valgrind Index: valgrind-3.10.1/configure.ac =================================================================== --- valgrind-3.10.1.orig/configure.ac 2017-06-07 15:49:29.586925698 -0400 +++ valgrind-3.10.1/configure.ac 2017-06-07 16:27:17.025886690 -0400 @@ -303,20 +303,14 @@ case "${host_os}" in kernel=`uname -r` case "${kernel}" in - 2.6.*|3.*) - AC_MSG_RESULT([2.6.x/3.x family (${kernel})]) - AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x]) - ;; - - 2.4.*) - AC_MSG_RESULT([2.4 family (${kernel})]) - AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x]) - ;; - - *) + 0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*) AC_MSG_RESULT([unsupported (${kernel})]) - AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6]) + AC_MSG_ERROR([Valgrind needs a Linux kernel >= 2.6]) ;; + + *) + AC_MSG_RESULT([2.6 or later (${kernel})]) + ;; esac ;; debian/patches/hwcaps-fix.patch0000664000000000000000000001367212551410565013726 0ustar Index: coregrind/m_initimg/initimg-linux.c =================================================================== --- ./coregrind/m_initimg/initimg-linux.c (revision 15017) +++ ./coregrind/m_initimg/initimg-linux.c (working copy) @@ -246,6 +246,10 @@ /*=== Setting up the client's stack ===*/ /*====================================================================*/ +#ifndef AT_DCACHEBSIZE +#define AT_DCACHEBSIZE 19 +#endif /* AT_DCACHEBSIZE */ + #ifndef AT_ICACHEBSIZE #define AT_ICACHEBSIZE 20 #endif /* AT_ICACHEBSIZE */ @@ -262,6 +266,10 @@ #define AT_RANDOM 25 #endif /* AT_RANDOM */ +#ifndef AT_HWCAP2 +#define AT_HWCAP2 26 +#endif /* AT_HWCAP2 */ + #ifndef AT_EXECFN #define AT_EXECFN 31 #endif /* AT_EXECFN */ @@ -377,8 +385,14 @@ const ExeInfo* info, UInt** client_auxv, Addr clstack_end, - SizeT clstack_max_size ) + SizeT clstack_max_size, + const VexArchInfo* vex_archinfo ) { + /* The HW configuration setting (hwcaps) of the target can be + * checked against the Vex settings of the host platform as given + * by the values in vex_archinfo. + */ + SysRes res; HChar **cpp; HChar *strtab; /* string table */ @@ -690,8 +704,44 @@ } # endif break; +# if defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux) + case AT_HWCAP2: + /* The HWCAP2 value has the entry arch_2_07 which indicates the + * processor is a Power 8 or beyond. The Valgrind vai.hwcaps + * value (coregrind/m_machine.c) has the VEX_HWCAPS_PPC64_ISA2_07 + * flag set so Valgrind knows about Power8. Need to pass the + * HWCAP2 value along so the user level programs can detect that + * the processor supports ISA 2.07 and beyond. + */ + /* Power Architecture 64-Bit ELF V2 ABI Specification + July 21, 2014, version 1.0, Page 124 + www-03.ibm.com/technologyconnect/tgcm/TGCMServlet.wss?alias=OpenPOWER&linkid=1n0000 + AT_HWCAP2 + The a_val member of this entry is a bit map of hardware + capabilities. Some bit mask values include: + + PPC_FEATURE2_ARCH_2_07 0x80000000 + PPC_FEATURE2_HAS_HTM 0x40000000 + PPC_FEATURE2_HAS_DSCR 0x20000000 + PPC_FEATURE2_HAS_EBB 0x10000000 + PPC_FEATURE2_HAS_ISEL 0x08000000 + PPC_FEATURE2_HAS_TAR 0x04000000 + PPC_FEATURE2_HAS_VCRYPTO 0x02000000 + */ + + if ((auxv->u.a_val & ~(0x80000000ULL)) != 0) { + /* Verify if PPC_FEATURE2_ARCH_2_07 is set in HWCAP2 + * that arch_2_07 is also set in VEX HWCAPS + */ + vg_assert((vex_archinfo->hwcaps & VEX_HWCAPS_PPC64_ISA2_07) == VEX_HWCAPS_PPC64_ISA2_07); + } + + break; +# endif + case AT_ICACHEBSIZE: + case AT_DCACHEBSIZE: case AT_UCACHEBSIZE: # if defined(VGP_ppc32_linux) /* acquire cache info */ @@ -852,7 +902,8 @@ /*====================================================================*/ /* Create the client's initial memory image. */ -IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo iicii ) +IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo iicii, + const VexArchInfo* vex_archinfo ) { ExeInfo info; HChar** env = NULL; @@ -913,7 +964,8 @@ iifii.initial_client_SP = setup_client_stack( init_sp, env, &info, &iifii.client_auxv, - iicii.clstack_end, iifii.clstack_max_size ); + iicii.clstack_end, iifii.clstack_max_size, + vex_archinfo ); VG_(free)(env); Index: coregrind/pub_core_initimg.h =================================================================== --- ./coregrind/pub_core_initimg.h (revision 15017) +++ ./coregrind/pub_core_initimg.h (working copy) @@ -33,6 +33,7 @@ #define __PUB_CORE_INITIMG_H #include "pub_core_basics.h" // Addr +#include "libvex.h" //-------------------------------------------------------------------- // PURPOSE: Map the client executable into memory, then set up its @@ -50,7 +51,8 @@ structure, which is gathered in an OS-specific way at startup. This returns an IIFinaliseImageInfo structure: */ extern -IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo ); +IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo, + const VexArchInfo* vex_archinfo ); /* Just before starting the client, we may need to make final adjustments to its initial image. Also we need to set up the VEX Index: coregrind/m_main.c =================================================================== --- ./coregrind/m_main.c (revision 15017) +++ ./coregrind/m_main.c (working copy) @@ -1815,9 +1815,12 @@ //-------------------------------------------------------------- // Figure out what sort of CPU we're on, and whether it is // able to run V. + /* The vex_archinfo structure is passed down later to the client + * to verify the HW info settings are consistent. + */ + VexArchInfo vex_archinfo; VG_(debugLog)(1, "main", "Get hardware capabilities ...\n"); { VexArch vex_arch; - VexArchInfo vex_archinfo; Bool ok = VG_(machine_get_hwcaps)(); if (!ok) { VG_(printf)("\n"); @@ -1945,7 +1948,7 @@ # endif /* NOTE: this call reads VG_(clo_main_stacksize). */ - the_iifii = VG_(ii_create_image)( the_iicii ); + the_iifii = VG_(ii_create_image)( the_iicii, &vex_archinfo ); } //============================================================== debian/patches/05_fix-callgrind_control.patch0000664000000000000000000000120312463241167016431 0ustar Description: Fix callgrind_control that should look for valgrind.bin and not valgrind Origin: vendor Bug-Debian: http://bugs.debian.org/659215 Author: Pierre Habouzit Reviewed-by: Alessandro Ghedini Last-Update: 2012-05-10 --- a/callgrind/callgrind_control.in +++ b/callgrind/callgrind_control.in @@ -29,7 +29,7 @@ @pids = (); open LIST, "vgdb $vgdbPrefixOption -l|"; while() { - if (/^use --pid=(\d+) for \S*?valgrind\s+(.*?)\s*$/) { + if (/^use --pid=(\d+) for \S*?valgrind\.bin\s+(.*?)\s*$/) { $pid = $1; $cmd = $2; if (!($cmd =~ /--tool=callgrind/)) { next; } debian/patches/03_allow-or-quoting-of-strings-in-.valgrindrc.patch0000664000000000000000000000242112253437573022300 0ustar Description: Allow ' or " quoting of strings in ~/.valgrindrc Signed-off-by: Pierre Habouzit Origin: vendor Bug-Debian: http://bugs.debian.org/507236 Author: Pierre Habouzit Reviewed-by: Alessandro Ghedini Last-Update: 2012-05-10 --- a/coregrind/m_commandline.c +++ b/coregrind/m_commandline.c @@ -96,14 +96,27 @@ { HChar* tmp; HChar* cp = s; + int quoted = '\0'; vg_assert(cp); while (True) { + HChar* out; // We have alternating sequences: blanks, non-blanks, blanks... // copy the non-blanks sequences, and add terminating '\0' + // deal with " or '-quoted strings properly. while (VG_(isspace)(*cp)) cp++; if (*cp == 0) break; - tmp = cp; - while ( !VG_(isspace)(*cp) && *cp != 0 ) cp++; + tmp = out = cp; + while ( (quoted || !VG_(isspace)(*cp)) && *cp) { + if (*cp == quoted) { + quoted = '\0'; + } else if (*cp == '\'' || *cp == '"') { + quoted = *cp; + } else { + *out++ = *cp; + } + cp++; + } + if (out < cp) *out++ = '\0'; if ( *cp != 0 ) *cp++ = '\0'; // terminate if not the last add_string( VG_(args_for_valgrind), tmp ); } debian/patches/CVE-2016-4490.patch0000664000000000000000000001126313116051740013242 0ustar Description: fix integer overflow after sanity checks Origin: backport, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7d235b1b5ea35352c54957ef5530d9a02c46962f Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70498 Index: valgrind-3.12.0~svn20160714/coregrind/m_demangle/cp-demangle.c =================================================================== --- valgrind-3.12.0~svn20160714.orig/coregrind/m_demangle/cp-demangle.c 2016-07-14 17:59:54.000000000 -0400 +++ valgrind-3.12.0~svn20160714/coregrind/m_demangle/cp-demangle.c 2017-06-07 15:05:43.913628844 -0400 @@ -135,6 +135,15 @@ extern char *alloca (); #endif /* ! in valgrind */ #if 0 /* in valgrind */ +#ifdef HAVE_LIMITS_H +#include +#endif +#endif /* ! in valgrind */ +#ifndef INT_MAX +# define INT_MAX (int)(((unsigned int) ~0) >> 1) /* 0x7FFFFFFF */ +#endif + +#if 0 /* in valgrind */ #include "ansidecl.h" #include "libiberty.h" #endif /* ! in valgrind */ @@ -409,7 +418,7 @@ d_make_dtor (struct d_info *, enum gnu_v struct demangle_component *); static struct demangle_component * -d_make_template_param (struct d_info *, long); +d_make_template_param (struct d_info *, int); static struct demangle_component * d_make_sub (struct d_info *, const char *, int); @@ -432,7 +441,7 @@ static struct demangle_component *d_unqu static struct demangle_component *d_source_name (struct d_info *); -static long d_number (struct d_info *); +static int d_number (struct d_info *); static struct demangle_component *d_identifier (struct d_info *, int); @@ -1118,7 +1127,7 @@ d_make_dtor (struct d_info *di, enum gnu /* Add a new template parameter. */ static struct demangle_component * -d_make_template_param (struct d_info *di, long i) +d_make_template_param (struct d_info *di, int i) { struct demangle_component *p; @@ -1134,7 +1143,7 @@ d_make_template_param (struct d_info *di /* Add a new function parameter. */ static struct demangle_component * -d_make_function_param (struct d_info *di, long i) +d_make_function_param (struct d_info *di, int i) { struct demangle_component *p; @@ -1608,7 +1617,7 @@ d_unqualified_name (struct d_info *di) static struct demangle_component * d_source_name (struct d_info *di) { - long len; + int len; struct demangle_component *ret; len = d_number (di); @@ -1621,12 +1630,12 @@ d_source_name (struct d_info *di) /* number ::= [n] <(non-negative decimal integer)> */ -static long +static int d_number (struct d_info *di) { int negative; char peek; - long ret; + int ret; negative = 0; peek = d_peek_char (di); @@ -1853,7 +1862,7 @@ d_java_resource (struct d_info *di) { struct demangle_component *p = NULL; struct demangle_component *next = NULL; - long len, i; + int len, i; char c; const char *str; @@ -1995,7 +2004,7 @@ d_special_name (struct d_info *di) case 'C': { struct demangle_component *derived_type; - long offset; + int offset; struct demangle_component *base_type; derived_type = cplus_demangle_type (di); @@ -2918,10 +2927,10 @@ d_pointer_to_member_type (struct d_info /* _ */ -static long +static int d_compact_number (struct d_info *di) { - long num; + int num; if (d_peek_char (di) == '_') num = 0; else if (d_peek_char (di) == 'n') @@ -2929,7 +2938,7 @@ d_compact_number (struct d_info *di) else num = d_number (di) + 1; - if (! d_check_char (di, '_')) + if (num < 0 || ! d_check_char (di, '_')) return -1; return num; } @@ -2941,7 +2950,7 @@ d_compact_number (struct d_info *di) static struct demangle_component * d_template_param (struct d_info *di) { - long param; + int param; if (! d_check_char (di, 'T')) return NULL; @@ -3143,9 +3152,10 @@ d_expression_1 (struct d_info *di) } else { - index = d_compact_number (di) + 1; - if (index == 0) + index = d_compact_number (di); + if (index == INT_MAX || index == -1) return NULL; + index ++; } return d_make_function_param (di, index); } @@ -3468,7 +3478,7 @@ d_local_name (struct d_info *di) static int d_discriminator (struct d_info *di) { - long discrim; + int discrim; if (d_peek_char (di) != '_') return 1; @@ -3524,7 +3534,7 @@ static struct demangle_component * d_unnamed_type (struct d_info *di) { struct demangle_component *ret; - long num; + int num; if (! d_check_char (di, 'U')) return NULL; @@ -4037,10 +4047,10 @@ d_append_string (struct d_print_info *dp } static inline void -d_append_num (struct d_print_info *dpi, long l) +d_append_num (struct d_print_info *dpi, int l) { char buf[25]; - sprintf (buf,"%ld", l); + sprintf (buf,"%d", l); d_append_string (dpi, buf); } debian/valgrind.lintian-overrides0000664000000000000000000000574112253437573014400 0ustar # http://valgrind.org/docs/manual/dist.readme-packagers.html valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_core-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_core-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_drd-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_drd-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_exp-dhat-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_exp-dhat-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_exp-sgcheck-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_exp-sgcheck-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_helgrind-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_massif-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_massif-x86-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so valgrind: shared-lib-without-dependency-information usr/lib/valgrind/vgpreload_memcheck-x86-linux.so valgrind: statically-linked-binary usr/lib/valgrind/cachegrind-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/cachegrind-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/callgrind-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/callgrind-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/drd-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/drd-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-bbv-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-bbv-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-dhat-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-dhat-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-sgcheck-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/exp-sgcheck-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/helgrind-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/helgrind-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/lackey-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/lackey-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/massif-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/massif-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/memcheck-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/memcheck-x86-linux valgrind: statically-linked-binary usr/lib/valgrind/none-amd64-linux valgrind: statically-linked-binary usr/lib/valgrind/none-x86-linux debian/NEWS0000664000000000000000000000250712253437573007706 0ustar valgrind (1:3.7.0-5) unstable; urgency=low Valgrind symbols have been stripped since version 1:3.6.1-5 because they take a lot of disk space (cf. #475562). This is not supported by upstream, who recommends to not do so because it may cause problems (e.g. unhelpful error messages). From now on, the stripped symbols will be provided in the valgrind-dbg package, which is a compromise of both "use cases" (who wants to avoid problems installs the -dbg package, who wants to save disk space doesn't). -- Alessandro Ghedini Wed, 16 May 2012 21:33:18 +0200 valgrind (1:3.6.1-5) unstable; urgency=low Starting with this version /usr/lib/valgrind binaries are stripped which saves about 150Mb on amd64 for example. It's supposed to be unsupported according to valgrind packaging instructions[0]. Though preliminary tests tends to show the way Debian strips symbols works. If you encounter issues with valgrind reports becoming useless try to revert to some version before 1:3.6.1-4 (for example from [1]). And if that fixes it, this stripping is likely to be the cause. [0] http://valgrind.org/docs/manual/dist.readme-packagers.html [1] http://snapshot.debian.org/archive/debian/20110513T040411Z/pool/main/v/valgrind/ -- Pierre Habouzit Fri, 13 May 2011 14:33:21 +0200 debian/copyright0000664000000000000000000003340312473555303011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Valgrind Source: http://valgrind.org/downloads/current.html Files: * Copyright: 2000-2012 Julian Seward License: GPL-2.0+ Files: debian/* Copyright: 2012 Alessandro Ghedini 2002 Cyrille Chepelov Andrés Roldán Pierre Habouzit License: GPL-2.0+ Files: mpi/* Copyright: 2006-2012, OpenWorks LLP License: BSD-3-Clause Files: exp-bbv/* Copyright: 2006-2012, Vince Weaver 2006-2012, Oriol Prat License: GPL-2.0+ Files: callgrind/* Copyright: 2002-2012, Josef Weidendorfer (Josef.Weidendorfer@gmx.de) 2002-2012, Nicholas Nethercote (njn@valgrind.org) License: GPL-2.0+ Files: VEX/* Copyright: 2004-2012, OpenWorks LLP License: GPL-2.0+ Files: VEX/pub/libvex_guest_s390x.h VEX/priv/host_s390_defs.* VEX/priv/guest_s390_toIR.c VEX/priv/guest_s390_defs.h VEX/priv/host_s390_isel.c VEX/priv/guest_s390_helpers.c Copyright: 2010-2012, IBM Corp. License: GPL-2.0+ Files: VEX/priv/guest_mips_defs.h VEX/priv/guest_mips_helpers.c VEX/priv/guest_mips_toIR.c VEX/priv/host_mips_defs.c Copyright: 2010-2012 RT-RK License: GPL-2.0+ Files: VEX/priv/guest_arm_toIR.c VEX/priv/host_arm_isel.c Copyright: 2004-2012, OpenWorks LLP 2010-2012, Samsung Electronics License: GPL-2.0+ Files: lackey/* Copyright: 2002-2012, Nicholas Nethercote License: GPL-2.0+ Files: exp-dhat/* Copyright: 2010-2012, Mozilla Inc. License: GPL-2.0+ Files: memcheck/* Copyright: 2000-2012, Julian Seward License: GPL-2.0+ Files: memcheck/tests/*/more_x87_fp.c Copyright: 2003, Fabrice Bellard License: GPL-2.0+ Files: memcheck/tests/str_tester.c Copyright: 1995-2003, Free Software Foundation, Inc License: LGPL-2.1+ Files: memcheck/tests/linux/timerfd-syscall.c Copyright: 2008, Bart Van Assche 2007, Davide Libenzi License: GPL-2.0+ Files: cachegrind/* Copyright: 2002-2012, Nicholas Nethercote License: GPL-2.0+ Files: cachegrind/cg_merge.c Copyright: 2000 Daniel Nagy, Budapest University of Technology and Economics 2002-2012 Nicholas Nethercote License: GPL-2.0+ Files: coregrind/* Copyright: 2000-2012, Julian Seward License: GPL-2.0+ Files: coregrind/pub_core_seqmatch.h Copyright: 2008-2012, OpenWorks Ltd License: GPL-2.0+ Files: coregrind/m_debuginfo/* Copyright: 2008-2012, OpenWorks LLP License: GPL-2.0+ Files: coregrind/m_debuginfo/*readmacho.c Copyright: 2005-2012, Apple Inc. License: GPL-2.0+ Files: coregrind/m_debuginfo/priv_d3basics.h Copyright: 2008-2012, OpenWorks LLP 1992-2006, Free Software Foundation Inc. License: GPL-2.0+ Files: coregrind/m_debuginfo/readpdb.c Copyright: 2006, Eric Pouech 2008, BitWagon Software LLC 2000-2012, Julian Seward License: GPL-2.0+ Files: coregrind/pub_core_oset.h Copyright: 2005-2012, Nicholas Nethercote License: GPL-2.0+ Files: coregrind/pub_core_vki.h Copyright: 2006-2012, OpenWorks LLP 2005-2012, Nicholas Nethercote 2000-2012, Julian Seward License: GPL-2.0+ Files: coregrind/m_seqmatch.c coregrind/m_initimg/priv_initimg_pathscan.h Copyright: 2006-2012 OpenWorks Ltd License: GPL-2.0+ Files: coregrind/m_redir.c Copyright: 2003-2012, Jeremy Fitzhardinge 2000-2012, Julian Seward License: GPL-2.0+ Files: coregrind/m_gdbserver/* Copyright: 1989-2012, Free Software Foundation, Inc License: GPL-2.0+ Files: coregrind/m_gdbserver/m_gdbserver.c Copyright: 2012-2011, Philippe Waroquiers License: GPL-2.0+ Files: coregrind/m_ume/macho.c coregrind/m_syswrap/syswrap-amd64-darwin.c coregrind/m_syswrap/priv_syswrap-darwin.h coregrind/m_syswrap/syswrap-x86-darwin.c coregrind/m_syswrap/syswrap-darwin.c coregrind/m_coredump/coredump-macho.c coregrind/pub_core_mach.h coregrind/m_mach/mach_basics.c Copyright: 2005-2012 Apple Inc License: GPL-2.0+ Files: coregrind/m_aspacemgr/aspacemgr-common.c coregrind/m_aspacemgr/priv_aspacemgr.h coregrind/pub_core_xarray.h coregrind/m_sparsewa.c coregrind/pub_core_sparsewa.h coregrind/m_xarray.c coregrind/pub_core_initimg.h coregrind/m_vkiscnums.c coregrind/m_vki.c coregrind/pub_core_signals.h coregrind/pub_core_vkiscnums.h coregrind/m_sigframe/sigframe-x86-darwin.c coregrind/m_sigframe/sigframe-amd64-darwin.c Copyright: 2006-2012 OpenWorks LLP License: GPL-2.0+ Files: coregrind/pub_core_vkiscnums_asm.h Copyright: 2006-2012 OpenWorks LLP 2005-2012 Nicholas Nethercote 2000-2012 Julian Seward License: GPL-2.0+ Files: coregrind/m_wordfm.* Copyright: 2000,2002 Daniel Nagy 2005-2012 Nicholas Nethercote 2007-2012 Julian Seward License: GPL-2.0+ Files: coregrind/m_options.c coregrind/m_syswrap/syswrap-linux.c coregrind/m_syswrap/syswrap-x86-linux.c coregrind/m_syswrap/syswrap-amd64-linux.c coregrind/m_syswrap/priv_syswrap-main.h coregrind/m_syswrap/priv_syswrap-linux.h coregrind/m_tooliface.c Copyright: 2000-2012 Nicholas Nethercote License: GPL-2.0+ Files: coregrind/m_syswrap/syswrap-ppc*-linux.c Copyright: 2005-2012 Cerion Armour-Brown 2005-2012 Nicholas Nethercote License: GPL-2.0+ Files: coregrind/m_syswrap/syswrap-arm-linux.c Copyright: 2008-2012 Evan Geller 2000-2012 Nicholas Nethercote License: GPL-2.0+ Files: coregrind/m_syswrap/syswrap-s390x-linux.c coregrind/m_sigframe/sigframe-s390x-linux.c Copyright: IBM Corp. 2010-2012 License: GPL-2.0+ Files: coregrind/pub_core_libcsetjmp.h coregrind/m_libcsetjmp.c Copyright: 2010-2012 Mozilla Inc License: GPL-2.0+ Files: coregrind/m_mach/mach_msg.c Copyright: 1991,1990,1989 Carnegie Mellon University License: Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. . CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. Files: coregrind/m_oset.c Copyright: 2005-2012 Nicholas Nethercote 2000 Daniel Nagy, Budapest University of Technology and Economics License: GPL-2.0+ Files: coregrind/vgdb.c coregrind/pub_core_gdbserver.h Copyright: 2012 Philippe Waroquiers License: GPL-2.0+ Files: coregrind/m_sigframe/sigframe-arm-linux.c Copyright: 2008-2012 Evan Geller 2000-2012 Nicholas Nethercote 2004-2012 Paul Mackerras License: GPL-2.0+ Files: coregrind/m_sigframe/sigframe-ppc*-linux.c Copyright: 2000-2012, Nicholas Nethercote 2004-2012, Paul Mackerras License: GPL-2.0+ Files: coregrind/m_sigframe/sigframe-amd64-linux.c coregrind/m_sigframe/sigframe-x86-linux.c coregrind/m_hashtable.c Copyright: 2000-2012 Nicholas Nethercote License: GPL-2.0+ Files: coregrind/m_demangle/* Copyright: 1998-2007, Free Software Foundation, Inc License: GPL-2.0+ Files: coregrind/pub_core_hashtable.h Copyright: 2005-2012 Nicholas Nethercote License: GPL-2.0+ Files: perf/tinycc.c Copyright: 2001-2004, Fabrice Bellard License: LGPL-2.0+ Files: perf/bz2.c Copyright: 1996-2004 Julian R Seward License: BSD-3-Clause Files: exp-sgcheck/* Copyright: 2008-2012, OpenWorks Ltd 2003-2012, Nicholas Nethercote License: GPL-2.0+ Files: massif/* Copyright: 2003-2012, Nicholas Nethercote License: GPL-2.0+ Files: drd/* Copyright: 2006-2012, Bart Van Assche License: GPL-2.0+ Files: drd/tests/tsan_thread_wrappers_pthread.h drd/tests/tsan_unittest.cpp Copyright: 2008-2008 Google Inc License: GPL-2.0+ Files: drd/drd_strmem_intercepts.c Copyright: 2000-2012 Julian Seward License: GPL-2.0+ Files: helgrind/* Copyright: 2007-2012, OpenWorks LLP License: GPL-2.0+ Files: helgrind/tests/tc17_sembar.c Copyright: 2005 Free Software Foundation, Inc License: LGPL-2.1+ Files: none/* Copyright: 2002-2012, Nicholas Nethercote License: GPL-2.0+ Files: none/tests/ppc*/* Copyright: 2007-2012 IBM License: GPL-2.0+ Files: none/tests/ppc*/jm-insns.c Copyright: 2005 Jocelyn Mayer License: GPL-2.0+ Files: none/tests/ppc*/round.c Copyright: 2006 Dave Nomura License: GPL-2.0+ Files: none/tests/ppc32/testVMX.c Copyright: 2004 CEPBA-IBM Research Institute License: GPL-2.0+ Files: none/tests/x86/bug126147-x86.c Copyright: 2002 Thomas M. Ogrisegg License: GPL-2.0+ Files: none/tests/pth_atfork1.c Copyright: 2000 Free Software Foundation, Inc License: LGPL-2.0+ Files: include/* Copyright: 2000-2012, Julian Seward License: GPL-2.0+ Files: include/pub_tool_xarray.h Copyright: 2007-2012 OpenWorks LLP License: GPL-2.0+ Files: include/pub_tool_vkiscnums*.h Copyright: 2006-2012, OpenWorks LLP 2005-2012, Nicholas Nethercote License: GPL-2.0+ Files: include/pub_tool_oset.h Copyright: 2005-2012, Nicholas Nethercote License: GPL-2.0+ Files: include/vki/vki-scnums-arm-linux.h Copyright: 2008-2012, Evan Geller License: GPL-2.0+ Files: include/vki/vki-s390x-linux.h Copyright: IBM Corp. 2010-2012 License: GPL-2.0+ Files: include/vki/vki-scnums-darwin.h Copyright: 2007-2012 Apple Inc License: GPL-2.0+ Files: include/vki/vki-scnums-s390x-linux.h Copyright: IBM Corp. 2010-2012 License: GPL-2.0+ Files: include/vki/vki-posixtypes-s390x-linux.h Copyright: IBM Corp. 2010-2012 License: GPL-2.0+ Files: include/pub_tool_hashtable.h Copyright: 2005-2012 Nicholas Nethercote License: GPL-2.0+ Files: include/pub_tool_gdbserver.h Copyright: 2012-2011 Philippe Waroquiers License: GPL-2.0+ Files: include/pub_tool_vki.h Copyright: 2006-2012 OpenWorks LLP 2005-2012 Nicholas Nethercote 2000-2012 Julian Seward License: GPL-2.0+ Files: include/pub_tool_wordfm.h Copyright: 2000,2002 Daniel Nagy 2005-2012 Nicholas Nethercote 2007-2012 Julian Seward License: GPL-2.0+ Files: include/pub_tool_sparsewa.h include/pub_tool_seqmatch.h Copyright: 2008-2012, OpenWorks Ltd License: GPL-2.0+ Files: include/pub_tool_libcsetjmp.h Copyright: 2010-2012, Mozilla Inc License: GPL-2.0+ License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the Institute nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-2.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: LGPL-2.0+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2". License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". debian/supp/0000775000000000000000000000000012303136435010157 5ustar debian/supp/debian.supp0000664000000000000000000000047712253437573012335 0ustar ## ## Debian suppressions ## { rpmatch bug#350347 Memcheck:Leak ... fun:rpmatch } { glib type registry bug#231989 Memcheck:Leak fun:calloc fun:g_malloc0 fun:type_node_any_new_W } { dlopen() with -lpthread bug#700899 Memcheck:Leak fun:calloc fun:_dlerror_run fun:dlopen@@GLIBC_2.2.5 } debian/watch0000664000000000000000000000010012253437573010223 0ustar version=3 http://valgrind.org/downloads/valgrind-(.*)\.tar\.bz2 debian/README.Debian0000664000000000000000000000223712473555303011244 0ustar valgrind for Debian ------------------- Debian's valgrind package for the amd64 architecture is built to support i386 binaries as well (that is, valgrind:amd64 can instrument both amd64 and i386 executables). However, to make this work, the libc6-dbg:i386 package must be installed as well. -- Alessandro Ghedini Sun, 05 Nov 2014 00:00:00 +0100 Debian's valgrind package comes stripped of any debug symbols, which are provided by the valgrind-dbg package. Note that it's recommended to install such package because without those symbols valgrind may generate less helpful error messages in certain situations, or not work at all. -- Alessandro Ghedini Sun, 09 Mar 2014 00:00:00 +0100 Debian's valgrind package ships with a suppression file named "debian.supp" along with upstream's "default.supp", under /usr/lib/valgrind. Note though that by default, valgrind only loads "default.supp". You may load "debian.supp" by passing --suppressions=/usr/lib/valgrind/debian.supp on the command-line (or appending it to ~/.valgrindrc). -- Alessandro Ghedini Sun, 09 Mar 2014 00:00:00 +0100 debian/valgrind.doc-base0000664000000000000000000000035012253437573012406 0ustar Document: valgrind Title: Valgrind User Manual Author: Valgrind Developers Abstract: Valgrind User Manual Section: Programming Format: HTML Index: /usr/share/doc/valgrind/html/manual.html Files: /usr/share/doc/valgrind/html/*.html debian/clean0000664000000000000000000000001512253437573010204 0ustar docs/FAQ.txt debian/valgrind.docs0000664000000000000000000000010612253437573011660 0ustar README AUTHORS README_MISSING_SYSCALL_OR_IOCTL docs/FAQ.txt docs/html debian/valgrind.links0000664000000000000000000000010012253437573012042 0ustar usr/share/man/man1/valgrind.1 usr/share/man/man1/valgrind.bin.1 debian/rules0000775000000000000000000000252412473556523010267 0ustar #!/usr/bin/make -f CFLAGS = $(shell dpkg-buildflags --get CFLAGS) CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS += "-I/usr/include/$(DEB_HOST_GNU_TYPE)" # fixes #676029 LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) ifeq ($(DEB_HOST_ARCH),mipsel) CFLAGS += -mips2 # fixes 710307 endif ifeq ($(DEB_HOST_ARCH_CPU),arm) DH_STRIP_OPTS := -X vgpreload else DH_STRIP_OPTS := endif CONFARGS = --enable-tls ifeq ($(DEB_HOST_ARCH_CPU),arm64) CONFARGS += --enable-only64bit endif %: dh $@ --parallel --with=autoreconf,bash-completion override_dh_auto_configure: dh_auto_configure -- $(CONFARGS) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" override_dh_auto_test: : # do nothing for now override_dh_auto_build: dh_auto_build --parallel $(MAKE) -C docs FAQ.txt $(MAKE) -C docs html-docs $(MAKE) -C docs man-pages override_dh_shlibdeps: dh_shlibdeps -Xdebian/valgrind/usr/lib/valgrind/getoff-x86-linux # fixes #762386 override_dh_strip: dh_strip --dbg-package=valgrind-dbg $(DH_STRIP_OPTS) target=$(CURDIR)/debian/valgrind override_dh_install: $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr dh_install -pvalgrind mv -f $(target)/usr/bin/valgrind $(target)/usr/bin/valgrind.bin mv -f ${target}/usr/bin/valgrind.sh $(target)/usr/bin/valgrind dh_install --remaining-packages override_dh_installchangelogs: dh_installchangelogs NEWS