Home
last modified time | relevance | path

Searched full:valgrind (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/third_party/libabigail/autoconf-archive/
Dax_valgrind_check.m413 # 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…
46 # This results in a "check-valgrind" rule being added to any Makefile.am
48 # configured with --enable-valgrind). Running `make check-valgrind` in
[all …]
/third_party/node/doc/contributing/
Dinvestigating-native-memory-leaks.md1 # Investigating memory leaks with Valgrind
8 This guide provides information on how to use Valgrind to investigate these
11 ## Valgrind section in Investigating memory leaks with Valgrind
13 [Valgrind](https://valgrind.org/docs/manual/quick-start.html) is a
19 To use Valgrind:
21 * Be patient, running under Valgrind slows execution significantly
33 apt-get install valgrind
38 The simplest invocation of Valgrind is:
41 valgrind node test.js
47 user1@minikube1:~/valgrind/node-addon-examples/1_hello_world/napi$ valgrind node test.js
[all …]
/third_party/pcre2/pcre2/
DRunGrepTest25 # valgrind settings when requested.
41 valgrind=
44 valgrind) valgrind="valgrind -q --leak-check=no --smc-check=all-non-file";;
52 if [ "$valgrind" = "" ] ; then
55 echo "Testing $pcre2grep_version using valgrind"
58 vjs="--suppressions=./testdata/valgrind-jit.supp"
125 $valgrind $pcre2grep $1 >>testtrygrep 2>&1
137 (cd $srcdir; $valgrind $vjs $pcre2grep PATTERN ./testdata/grepinput) >>testtrygrep
141 (cd $srcdir; $valgrind $vjs $pcre2grep '^PATTERN' ./testdata/grepinput) >>testtrygrep
145 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinput) >>testtrygrep
[all …]
DRunTest35 # Other arguments can be one of the words "-valgrind", "-valgrind-log", or
41 # For backwards compatibility, -nojit, -valgrind, -valgrind-log, and -sim may
186 $valgrind $vjs ./pcre2test $1 >>testtry
197 $valgrind ./pcre2test -C ebcdic >/dev/null
222 valgrind=
296 valgrind|-valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all-non-file";;
297valgrind-log|-valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --…
417 # When JIT is used with valgrind, we need to set up valgrind suppressions as
418 # otherwise there are a lot of false positive valgrind reports when the
426 if [ "$valgrind" != "" ] ; then
[all …]
/third_party/node/deps/openssl/openssl/
DNOTES-VALGRIND.md1 Notes on Valgrind
4 Valgrind is a test harness that includes many tools such as memcheck,
6 run by Valgrind is memcheck. There are other tools available, but this
9 Valgrind runs programs in a virtual machine, this means OpenSSL unit
10 tests run under Valgrind will take longer than normal.
15 1. Platform supported by Valgrind
16 See <http://valgrind.org/info/platforms.html>
17 2. Valgrind installed on the platform
18 See <http://valgrind.org/downloads/current.html>
35 "`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q"
[all …]
/third_party/openssl/
DNOTES-VALGRIND.md1 Notes on Valgrind
4 Valgrind is a test harness that includes many tools such as memcheck,
6 run by Valgrind is memcheck. There are other tools available, but this
9 Valgrind runs programs in a virtual machine, this means OpenSSL unit
10 tests run under Valgrind will take longer than normal.
15 1. Platform supported by Valgrind
16 See <http://valgrind.org/info/platforms.html>
17 2. Valgrind installed on the platform
18 See <http://valgrind.org/downloads/current.html>
35 "`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q"
[all …]
/third_party/skia/infra/bots/assets/valgrind/
Dcreate.py29 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)):
67 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
69 shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
70 os.path.join(target_dir, 'bin', 'valgrind'))
[all …]
/third_party/python/Modules/_decimal/tests/
Drunall-memorydebugger.sh5 # refleaks, release build and release build with valgrind.
9 # Requirements: valgrind
20 VALGRIND="valgrind --tool=memcheck --leak-resolution=high \
21 --suppressions=Misc/valgrind-python.supp"
59 # test_decimal: refleak, regular and Valgrind tests
97 ########### valgrind tests ###########
98 valgrind=$VALGRIND
100 # Valgrind has no support for 80 bit long double arithmetic.
101 ppro) valgrind= ;;
103 i386|i486|i586|i686) valgrind= ;;
[all …]
/third_party/icu/.ci-builds/
D.azure-valgrind.yml1 # Azure Pipelines configuration for Valgrind for ICU4C.
3 # Note: The valgrind test configuration is in a separate file
6 # The Ubuntu images don't have valgrind installed by default, so we need
9 # Only run valgrind on the master and maint branches, and
35 displayName: 'C: Linux Clang Valgrind (Ubuntu 16.04)'
46 sudo apt install -y valgrind
47 displayName: 'Install valgrind'
57 …RARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH valgrind --tool=memcheck -…
58 displayName: 'Valgrind intltest'
61 …RARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH valgrind --tool=memcheck -…
[all …]
/third_party/python/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
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
23 from the big blocks. This means Valgrind can't detect
26 makes Python run much slower, especially when running under Valgrind.
[all …]
DREADME22 README.valgrind Information for Valgrind users, see valgrind-python.supp
26 valgrind-python.supp Valgrind suppression file, see README.valgrind
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
DCMakeLists.txt21 find_program(VALGRIND "valgrind")
25 if (VALGRIND)
27 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
39 if (VALGRIND)
41 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
46 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
51 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
129 if (VALGRIND)
130 message("testing via valgrind")
132 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
[all …]
/third_party/rust/crates/minimal-lexical/.github/workflows/
DValgrind.yml1 name: Valgrind
9 valgrind:
10 name: Valgrind Tests
21 - run: sudo apt-get install valgrind
22 - run: cargo +nightly install cargo-valgrind
23 - run: cargo +nightly valgrind test --release
24 - run: cargo +nightly valgrind test --all-features --release
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
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
15 #include "llvm/Support/Valgrind.h"
20 #include <valgrind/valgrind.h>
29 // Valgrind-provided macros.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
10 // Methods for communicating with a valgrind instance this program is running
12 // valgrind headers installed and valgrind is controlling this process.
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.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
9 // Methods for communicating with a valgrind instance this program is running
11 // valgrind headers installed and valgrind is controlling this process.
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.
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Drun-shape-fuzzer-tests.py39 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-draw-fuzzer-tests.py39 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-subset-fuzzer-tests.py39 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 ():
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
DCMakeLists.txt22 find_program(VALGRIND "valgrind")
44 if (VALGRIND)
45 message("testing via valgrind")
47 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
62 if (VALGRIND)
64 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
69 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
121 if (VALGRIND)
122 message("testing via valgrind")
124 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
/third_party/cJSON/
D.travis.yml6 - VALGRIND=On SANITIZERS=Off
7 - VALGRIND=Off SANITIZERS=Off
8 - VALGRIND=Off SANITIZERS=On
15 - valgrind
26 … cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_VALGRIND="${VALGRIND}" -DENABLE_SAFE_STACK="${VALGRIND}…
/third_party/libabigail/tests/
DMakefile.am65 test-valgrind-suppressions.supp
214 VALGRIND_SUPPRESSIONS_FILES = ${srcdir}/test-valgrind-suppressions.supp
216 # These are flags passed to Valgrind so that it follows children
218 # actually fork libabigail command line tools, and we want to valgrind
224 # So we must tell Valgrind to avoid following a bunch of command line
226 # valgrind.
232 # Use the target below to run tests under Valgrind's memcheck tool by
238 # make -C <build-directory>/tests check-valgrind-memcheck-recursive TESTS=runtestdiffsuppr
240 check-valgrind-memcheck-recursive:
241 $(MAKE) check-valgrind-memcheck VALGRIND_FLAGS="${RECURSIVE_VALGRIND_FLAGS}"
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-sigv4/
DCMakeLists.txt19 find_program(VALGRIND "valgrind")
22 if (VALGRIND)
23 message("testing via valgrind")
25 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
66 if (VALGRIND)
67 message("testing via valgrind")
69 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
/third_party/skia/infra/bots/recipe_modules/flavor/
Dvalgrind.py9 """Valgrind flavor, used for running code through Valgrind."""
16 'skia', 'tools', 'valgrind.supp')
17 self._valgrind_cipd_dir = self.m.vars.workdir.join('valgrind')
19 self._valgrind = self._valgrind_fake_dir.join('bin', 'valgrind')
20 self._lib_dir = self._valgrind_fake_dir.join('lib', 'valgrind')
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
DCMakeLists.txt21 find_program(VALGRIND "valgrind")
43 if (VALGRIND)
44 message("testing via valgrind")
46 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
90 if (VALGRIND)
91 message("testing via valgrind")
93 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20

12345678910>>...24