Home
last modified time | relevance | path

Searched +full:valgrind +full:- (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/external/strace/m4/
Dax_valgrind_check.m42 # https://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html
12 # AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
13 # running `make check` under a variety of Valgrind tools to check for
19 # the value of the --enable-valgrind option, which defaults to being
20 # enabled if Valgrind is installed and disabled otherwise. Individual
21 # Valgrind tools can be disabled via --disable-valgrind-<tool>, the
27 # LOG_COMPILER system, the $(VALGRIND) variable can be used within the
28 # shell scripts to enable Valgrind, as described here:
30 # https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.ht…
42 # VALGRIND_SUPPRESSIONS_FILES = my-project.supp
[all …]
/external/libabigail/autoconf-archive/
Dax_valgrind_check.m41 # SPDX-License-Identifier: FSFAP
3 # http://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html
13 # AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
14 # running `make check` under a variety of Valgrind tools to check for
20 # the value of the --enable-valgrind option, which defaults to being
21 # enabled if Valgrind is installed and disabled otherwise. Individual
22 # Valgrind tools can be disabled via --disable-valgrind-<tool>, the
28 # LOG_COMPILER system, the $(VALGRIND) variable can be used within the
29 # shell scripts to enable Valgrind, as described here:
31 # https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.ht…
[all …]
/external/libyuv/files/tools_libyuv/valgrind/
Dlibyuv_tests.sh4 # Use of this source code is governed by a BSD-style license
10 # Set up some paths and re-direct the arguments to libyuv_tests.py
14 # - The locate_valgrind.sh of Chromium's Valgrind scripts dir is used to locate
15 # the Valgrind framework install. If it fails a fallback path is used instead
16 # (../../chromium/src/third_party/valgrind/linux_x64) and a warning message
18 # - libyuv_tests.py is invoked instead of chrome_tests.py.
19 # - Chromium's Valgrind scripts directory is added to the PYTHONPATH to make it
26 # tools_libyuv/valgrind/libyuv_tests.sh --tool memcheck
28 # tools_libyuv/valgrind/libyuv_tests.sh --tool=memcheck
32 if [[ "$1" == "--tool" ]]
[all …]
Dlocate_valgrind.sh5 # Use of this source code is governed by a BSD-style license
11 # Prints a path to Valgrind binaries to be used for Chromium.
12 # Select the valgrind from third_party/valgrind by default,
18 # User may use their own valgrind by giving its path with CHROME_VALGRIND env.
22 case "$(uname -a)" in
33 *Darwin*10.[0-9].[0-9]*i386*)
36 *Darwin*10.[0-9].[0-9]*x86_64*)
39 *Darwin*11.[0-9].[0-9]*x86_64*)
44 uname -a
50 # The binaries should be in third_party/valgrind
[all …]
Dvalgrind.sh5 # Use of this source code is governed by a BSD-style license
11 # This is a small script for manually launching valgrind, along with passing
14 # $ sh ./tools/valgrind/valgrind.sh ./out/Debug/chrome
18 # That's the script used by the valgrind buildbot.
23 RUN_COMMAND="valgrind"
26 DEFAULT_TOOL_FLAGS=("--db-command=gdb -nw %f %p" "--db-attach=yes" \
28 "--vex-iropt-register-updates=allregs-at-mem-access" \
31 "--malloc-fill=41" "--free-fill=41" \
33 "--num-callers=30")
41 set -e
[all …]
Dchrome_tests.sh5 # Use of this source code is governed by a BSD-style license
11 # Set up some paths and re-direct the arguments to chrome_tests.py
17 # tools/valgrind/chrome_tests.sh --tool memcheck
19 # tools/valgrind/chrome_tests.sh --tool=memcheck
23 if [[ "$1" == "--tool" ]]
27 elif [[ "$1" =~ --tool=(.*) ]]
54 echo "Using valgrind binaries from ${CHROME_VALGRIND}"
57 # We need to set these variables to override default lib paths hard-coded into
58 # Valgrind binary.
59 export VALGRIND_LIB="$CHROME_VALGRIND/lib/valgrind"
[all …]
/external/pcre/dist2/
DRunGrepTest18 # Remove any non-default colouring and aliases that the caller may have set.
25 # valgrind settings when requested.
31 if [ ! -x $pcre2grep ] ; then
36 if [ ! -x $pcre2test ] ; then
41 valgrind=
42 while [ $# -gt 0 ] ; do
44 valgrind) valgrind="valgrind -q --leak-check=no --smc-check=all-non-file";;
51 pcre2grep_version=`$pcre2grep -V`
52 if [ "$valgrind" = "" ] ; then
55 echo "Testing $pcre2grep_version using valgrind"
[all …]
DRunTest5 # selected, depending on which build-time options were used.
8 # JIT, unless "-nojit" is given on the command line. There are also two tests
9 # for JIT-specific features, one to be run when JIT support is available
10 # (unless "-nojit" is specified), and one when it is not.
12 # Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also
13 # possible to select which to test by giving "-8", "-16" or "-32" on the
16 # As well as "-nojit", "-8", "-16", and "-32", arguments for this script are
17 # individual test numbers, ranges of tests such as 3-6 or 3- (meaning 3 to the
18 # end), or a number preceded by ~ to exclude a test. For example, "3-15 ~10"
27 # Other arguments can be one of the words "-valgrind", "-valgrind-log", or
[all …]
/external/python/cpython3/Modules/_decimal/tests/
Drunall-memorydebugger.sh5 # refleaks, release build and release build with valgrind.
7 # Synopsis: ./runall-memorydebugger.sh [--all-configs64 | --all-configs32]
9 # Requirements: valgrind
18 CONFIGS_32="ppro ansi32 ansi-legacy universal"
20 VALGRIND="valgrind --tool=memcheck --leak-resolution=high \
21 --suppressions=Misc/valgrind-python.supp"
25 *--all-configs64*)
28 *--all-configs32*)
45 len=`echo $@ | wc -c`
46 margin="#%"`expr \( 74 - $len \) / 2`"s"
[all …]
/external/skqp/infra/bots/assets/valgrind/
Dcreate.py5 # Use of this source code is governed by a BSD-style license that can be
25 VALGRIND = 'valgrind-3.13.0' variable
26 TARBALL = '%s.tar.bz2' % VALGRIND
27 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
28 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
42 if os.path.isdir(VALGRIND):
54 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
56 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
57 subprocess.check_call(['./configure', '--prefix=%s' % INSTALL_DIR])
63 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
[all …]
/external/skia/infra/bots/assets/valgrind/
Dcreate.py5 # Use of this source code is governed by a BSD-style license that can be
26 VALGRIND = 'valgrind-3.15.0' variable
27 TARBALL = '%s.tar.bz2' % VALGRIND
28 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
29 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
43 if os.path.isdir(VALGRIND):
55 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
57 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
58 subprocess.check_call(['./configure', '--prefix=%s' % INSTALL_DIR])
64 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
[all …]
/external/libyuv/files/
D.gitignore2 pin-log.txt
17 /sde-avx-sse-transition-out.txt
21 /third_party/appurify-python
32 /third_party/jsr-305
38 /third_party/llvm-build
62 /tools/valgrind
63 /tools/valgrind-libyuv/libyuv_tests.bat
64 /tools/valgrind-libyuv/libyuv_tests.py
65 /tools/valgrind-libyuv/libyuv_tests.sh
66 /tools/valgrind-libyuv/memcheck/OWNERS
[all …]
/external/python/cpython3/Misc/
DREADME.valgrind1 This document describes some caveats about the use of Valgrind with
2 Python. Valgrind is used periodically by Python developers to try
5 If you want to enable valgrind support in Python, you will need to
6 configure Python --with-valgrind option or an older option
7 --without-pymalloc.
12 If you don't want to read about the details of using Valgrind, there
15 Misc/valgrind-python.supp. Second, you must do one of the following:
19 * Uncomment the lines in Misc/valgrind-python.supp that
22 If you want to use Valgrind more effectively and catch even more
23 memory leaks, you will need to configure python --without-pymalloc.
[all …]
/external/python/cpython2/Misc/
DREADME.valgrind1 This document describes some caveats about the use of Valgrind with
2 Python. Valgrind is used periodically by Python developers to try
5 If you don't want to read about the details of using Valgrind, there
8 Misc/valgrind-python.supp. Second, you must do one of the following:
12 * Uncomment the lines in Misc/valgrind-python.supp that
15 If you want to use Valgrind more effectively and catch even more
16 memory leaks, you will need to configure python --without-pymalloc.
19 from the big blocks. This means Valgrind can't detect
21 to the system malloc. Note: configuring python --without-pymalloc
22 makes Python run much slower, especially when running under Valgrind.
[all …]
/external/iptables/iptables/tests/shell/
Drun-tests.sh9 Usage: $(basename $0) [-v|--verbose] [-H|--host] [-V|--valgrind]
10 [[-l|--legacy]|[-n|--nft]] [testscript ...]
12 -v | --verbose Enable verbose mode (do not drop testscript output).
13 -H | --host Run tests against installed binaries in \$PATH,
15 -V | --valgrind Enable leak checking via valgrind.
16 -l | --legacy Test legacy variant only. Conflicts with --nft.
17 -n | --nft Test nft variant only. Conflicts with --legacy.
18 testscript Run only specific test(s). Implies --verbose.
35 if [ "$(id -u)" != "0" ] ; then
39 if [ ! -d "$TESTDIR" ] ; then
[all …]
/external/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
10 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
11 // defined. If we have valgrind.h but valgrind isn't running, its macros are
12 // no-ops.
14 //===----------------------------------------------------------------------===//
16 #include "llvm/Support/Valgrind.h"
21 #include <valgrind/valgrind.h>
30 // Valgrind-provided macros.
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
10 // defined. If we have valgrind.h but valgrind isn't running, its macros are
11 // no-ops.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/Valgrind.h"
20 #include <valgrind/valgrind.h>
29 // Valgrind-provided macros.
/external/llvm-project/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
10 // defined. If we have valgrind.h but valgrind isn't running, its macros are
11 // no-ops.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/Valgrind.h"
20 #include <valgrind/valgrind.h>
29 // Valgrind-provided macros.
/external/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
10 // Methods for communicating with a valgrind instance this program is running
11 // under. These are all no-ops unless LLVM was configured on a system with the
12 // valgrind headers installed and valgrind is controlling this process.
14 //===----------------------------------------------------------------------===//
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
10 // Methods for communicating with a valgrind instance this program is running
11 // under. These are all no-ops unless LLVM was configured on a system with the
12 // valgrind headers installed and valgrind is controlling this process.
14 //===----------------------------------------------------------------------===//
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Methods for communicating with a valgrind instance this program is running
10 // under. These are all no-ops unless LLVM was configured on a system with the
11 // valgrind headers installed and valgrind is controlling this process.
13 //===----------------------------------------------------------------------===//
22 // True if Valgrind is controlling this process.
25 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
26 // Otherwise valgrind may continue to execute the old version of the code.
/external/llvm-project/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Methods for communicating with a valgrind instance this program is running
10 // under. These are all no-ops unless LLVM was configured on a system with the
11 // valgrind headers installed and valgrind is controlling this process.
13 //===----------------------------------------------------------------------===//
22 // True if Valgrind is controlling this process.
25 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
26 // Otherwise valgrind may continue to execute the old version of the code.
/external/flac/test/
Dtest_replaygain.sh1 #!/bin/sh -e
3 # FLAC - Free Lossless Audio Codec
4 # Copyright (C) 2002-2009 Josh Coalson
5 # Copyright (C) 2011-2016 Xiph.Org Foundation
9 # are distributed under Xiph.Org's BSD-like license (see the file
27 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
28 then EGREP='grep -E'
32 testdir="metaflac-test-files"
38 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_replaygain.v…
39valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-comp…
[all …]
/external/harfbuzz_ng/test/fuzzing/
Drun-shape-fuzzer-tests.py48 text = "" if is_debug_mode else text.decode ("utf-8").strip ()
63 hb_shape_fuzzer = os.path.join (top_builddir, "hb-shape-fuzzer" + EXEEXT)
67 print ("""Failed to find hb-shape-fuzzer binary automatically,
77 valgrind = None variable
79 valgrind = which ('valgrind') variable
80 if valgrind is None:
81 print ("""Valgrind requested but not found.""")
84 print ("""Valgrind support is currently autotools only and needs libtool but not found.""")
91 if valgrind:
92 …eturncode = cmd (libtool.split(' ') + ['--mode=execute', valgrind + ' --leak-check=full --error-ex…
[all …]
/external/libabigail/tests/
DMakefile.am1 ## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
61 test-valgrind-suppressions.supp
78 test-utils.h \
79 test-utils.cc
82 -DABIGAIL_SRC_DIR=\"${abs_top_srcdir}\" \
83 -DABIGAIL_BUILD_DIR=\"${abs_top_builddir}\"
87 runtestreadwrite_SOURCES=test-read-write.cc
90 runtestreaddwarf_SOURCES=test-read-dwarf.cc
92 runtestreaddwarf_LDFLAGS=-pthread
94 runtestannotate_SOURCES=test-annotate.cc
[all …]

12345678910>>...32