Home
last modified time | relevance | path

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

12345678910>>...35

/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/pcre/
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"
35 # 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/skia/infra/bots/assets/valgrind/
Dcreate.py5 # Use of this source code is governed by a BSD-style license that can be
29 VALGRIND = 'valgrind-3.15.0' variable
30 TARBALL = '%s.tar.bz2' % VALGRIND
31 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
32 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
46 if os.path.isdir(VALGRIND):
58 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
60 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
61 subprocess.check_call(['./configure', '--prefix=%s' % INSTALL_DIR])
67 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
[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 uncomment the lines in
16 Misc/valgrind-python.supp that suppress the warnings for PyObject_Free and
19 If you want to use Valgrind more effectively and catch even more
20 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/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
DCMakeLists.txt1 project(lws-minimal-secure-streams-smd C)
19 add_executable(${PROJECT_NAME} minimal-secure-streams-smd.c)
21 find_program(VALGRIND "valgrind")
25 if (VALGRIND)
26 add_test(NAME ss-smd COMMAND
27 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
28 $<TARGET_FILE:lws-minimal-secure-streams-smd>)
31 add_test(NAME ss-smd COMMAND lws-minimal-secure-streams-smd)
33 set_tests_properties(ss-smd
35 … WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams-smd
[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/rust/crates/minimal-lexical/.github/workflows/
DValgrind.yml1 name: Valgrind
9 valgrind:
10 name: Valgrind Tests
11 runs-on: ubuntu-latest
13 fail-fast: true
15 - uses: actions/checkout@v2
16 - name: Install latest nightly
17 uses: actions-rs/toolchain@v1
21 - run: sudo apt-get install valgrind
22 - run: cargo +nightly install cargo-valgrind
[all …]
/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/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/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-2022 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/zstd/zlibWrapper/
DMakefile3 # make - compiles examples
4 # make MOREFLAGS=-DZWRAP_USE_ZSTD=1 - compiles examples with zstd compression turned on
5 # make test - runs examples
10 ZLIB_LIBRARY ?= -lz
24 CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH) \
25 -I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
26 STDFLAGS = -std=c89 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
27 -DNO_snprintf -DNO_vsnprintf # strict ANSI C89 is missing these prototypes
28 DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
29 -Wdeclaration-after-statement -Wstrict-prototypes -Wundef \
[all …]
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
DCMakeLists.txt1 project(lws-minimal-secure-streams C)
8 set(SAMP lws-minimal-secure-streams)
20 add_executable(${SAMP} minimal-secure-streams.c)
22 find_program(VALGRIND "valgrind")
31 # sai-resource holds the lease on the resources until
32 # the time given in seconds or the sai-resource instance
44 if (VALGRIND)
45 message("testing via valgrind")
46 add_test(NAME ss-warmcat COMMAND
47 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
[all …]
/external/harfbuzz_ng/test/fuzzing/
Drun-draw-fuzzer-tests.py19 return ("" if is_debug_mode else text.decode ("utf-8").strip ()), p.returncode
27 hb_draw_fuzzer = os.path.join (top_builddir, "hb-draw-fuzzer" + EXEEXT)
31 sys.exit ("""Failed to find hb-draw-fuzzer binary automatically,
39 valgrind = None variable
41 valgrind = shutil.which ('valgrind') variable
42 if valgrind is None:
43 sys.exit ("""Valgrind requested but not found.""")
50 if valgrind:
51 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_draw_fuzzer, path…
57 if (not valgrind or returncode) and text.strip ():
Drun-repacker-fuzzer-tests.py19 return ("" if is_debug_mode else text.decode ("utf-8").strip ()), p.returncode
27 hb_repacker_fuzzer = os.path.join (top_builddir, "hb-repacker-fuzzer" + EXEEXT)
31 sys.exit ("""Failed to find hb-repacker-fuzzer binary automatically,
39 valgrind = None variable
41 valgrind = shutil.which ('valgrind') variable
42 if valgrind is None:
43 sys.exit ("""Valgrind requested but not found.""")
50 if valgrind:
51 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_repacker_fuzzer, …
57 if (not valgrind or returncode) and text.strip ():
Drun-shape-fuzzer-tests.py19 return ("" if is_debug_mode else text.decode ("utf-8").strip ()), p.returncode
27 hb_shape_fuzzer = os.path.join (top_builddir, "hb-shape-fuzzer" + EXEEXT)
31 sys.exit ("""Failed to find hb-shape-fuzzer binary automatically,
39 valgrind = None variable
41 valgrind = shutil.which ('valgrind') variable
42 if valgrind is None:
43 sys.exit ("""Valgrind requested but not found.""")
49 if valgrind:
50 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_shape_fuzzer, pat…
56 if (not valgrind or returncode) and text.strip ():
Drun-subset-fuzzer-tests.py19 return ("" if is_debug_mode else text.decode ("utf-8").strip ()), p.returncode
27 hb_subset_fuzzer = os.path.join (top_builddir, "hb-subset-fuzzer" + EXEEXT)
31 sys.exit ("""Failed to find hb-subset-fuzzer binary automatically,
39 valgrind = None variable
41 valgrind = shutil.which ('valgrind') variable
42 if valgrind is None:
43 sys.exit ("""Valgrind requested but not found.""")
53 if valgrind:
54 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_subset_fuzzer, pa…
60 if (not valgrind or returncode) and text.strip ():
/external/libabigail/tests/
DMakefile.am1 ## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
65 test-valgrind-suppressions.supp
82 test-utils.h \
83 test-utils.cc
86 -DABIGAIL_SRC_DIR=\"${abs_top_srcdir}\" \
87 -DABIGAIL_BUILD_DIR=\"${abs_top_builddir}\"
90 test-read-common.h \
91 test-read-common.cc
94 -DABIGAIL_SRC_DIR=\"${abs_top_srcdir}\" \
95 -DABIGAIL_BUILD_DIR=\"${abs_top_builddir}\"
[all …]
/external/zstd/build/meson/tests/
DvalgrindTest.py3 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com>
6 # This source code is licensed under both the BSD-style license (found in the
15 def valgrindTest(valgrind, datagen, fuzzer, zstd, fullbench): argument
16 VALGRIND_ARGS = [valgrind, '--leak-check=full', '--show-leak-kinds=all', '--error-exitcode=1']
18 print('\n ---- valgrind tests : memory analyzer ----')
20 subprocess.check_call([*VALGRIND_ARGS, datagen, '-g50M'], stdout=subprocess.DEVNULL)
26 with subprocess.Popen([datagen, '-g80'], stdout=subprocess.PIPE) as p1, \
27 subprocess.Popen([*VALGRIND_ARGS, zstd, '-', '-c'],
35 with subprocess.Popen([datagen, '-g16KB'], stdout=subprocess.PIPE) as p1, \
36 subprocess.Popen([*VALGRIND_ARGS, zstd, '-vf', '-', '-c'],
[all …]

12345678910>>...35