Home
last modified time | relevance | path

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

12345678910>>...49

/aosp_15_r20/external/pcre/
H A 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 …]
H A 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 …]
/aosp_15_r20/external/strace/m4/
H A Dax_valgrind_check.m412 # 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…
45 # This results in a "check-valgrind" rule being added to any Makefile.am
47 # configured with --enable-valgrind). Running `make check-valgrind` in
[all …]
/aosp_15_r20/external/python/cpython3/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 …]
/aosp_15_r20/external/skia/infra/bots/assets/valgrind/
H A 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 …]
/aosp_15_r20/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
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 …]
Dvalgrind-python.supp2 # This is a valgrind suppression file that should be used when using valgrind.
4 # Here's an example of running valgrind:
7 # valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
16 # See Misc/README.valgrind for more information.
83 Handle PyMalloc confusing valgrind (possibly leaked)
91 Handle PyMalloc confusing valgrind (possibly leaked)
99 Handle PyMalloc confusing valgrind (possibly leaked)
294 # Valgrind emits "Conditional jump or move depends on uninitialised value(s)"
297 # Valgrind bug: https://bugs.kde.org/show_bug.cgi?id=264936
299 bpo-38118: Valgrind emits false alarm on GCC builtin strcmp()
/aosp_15_r20/external/zstd/zlibWrapper/
H A DMakefile69 .PHONY: test-valgrind
70 #test-valgrind: ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.so
71 test-valgrind: VALGRIND = LD_LIBRARY_PATH=$(ZSTDLIBDIR) valgrind --track-origins=yes --leak-check=f… macro
72 test-valgrind: clean example fitblk example_zstd fitblk_zstd zwrapbench
73 @echo "\n ---- valgrind tests ----"
74 $(VALGRIND) ./example
75 $(VALGRIND) ./example_zstd
76 $(VALGRIND) ./fitblk 10240 <$(TEST_FILE)
77 $(VALGRIND) ./fitblk 40960 <$(TEST_FILE)
78 $(VALGRIND) ./fitblk_zstd 10240 <$(TEST_FILE)
[all …]
/aosp_15_r20/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
19 from the big blocks. This means Valgrind can't detect
22 makes Python run much slower, especially when running under Valgrind.
23 You may need to run the tests in batches under Valgrind to keep
28 test_ctypes causes Valgrind 3.1.1 to fail (crash).
[all …]
/aosp_15_r20/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
H A 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 …]
/aosp_15_r20/external/pcre/maint/
H A DManyConfigTests17 # -nojitmain skip non-valgrind JIT tests
18 # -nojitvalgrind skip JIT tests with valgrind
20 # -nomainvalgrind skip the main (non-JIT) valgrind tests
23 # -novalgrind skip all the valgrind tests
88 +valgrind) usevalgrind=1; usejitvalgrind=1; usemainvalgrind=1;;
206 $srcdir/RunTest $valgrind >teststdoutM 2>teststderrM
221 $srcdir/RunGrepTest $valgrind >teststdoutM 2>teststderrM
230 $valgrind ./pcre2posix_test >teststdoutM 2>teststderrM
276 valgrind=
386 # Now re-run some of the tests under valgrind.
[all …]
/aosp_15_r20/external/iptables/iptables/tests/shell/
H A Drun-tests.sh9 Usage: $(basename $0) [-v|--verbose] [-H|--host] [-V|--valgrind]
15 -V | --valgrind Enable leak checking via valgrind.
65 -V|--valgrind)
66 VALGRIND=y
101 # note: valgrind man page warns about --log-file with --trace-children, the
106 valgrind --log-file=$2/valgrind.log --trace-children=yes \
111 if grep -q 'no leaks are possible' $2/valgrind.log; then
112 rm $2/valgrind.log
114 mv $2/valgrind.log $2/valgrind_\$\$.log
124 if [ "$VALGRIND" == "y" ]; then
[all …]
/aosp_15_r20/external/flac/test/
H A Dtest_replaygain.sh38 …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…
48 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
49valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 4>>test_rep…
61 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
62valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 2>/dev/null…
H A Dtest_seeking.sh39 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_seeking.valg…
40valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac${EXE} --no-error-o…
49 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_seeking.
50valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac${EXE} $* 4>>te…
59 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 test_seeking $*" >>test_seek…
60valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 test_seeking $* 4>>test…
H A Dtest_metaflac.sh41 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_metaflac.val…
42valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac${EXE} ${TOTALLY_SI…
51 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_metaflac…
52valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac${EXE} $* 4>>te…
64 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_metaflac…
65valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac${EXE} $* 2>/de…
75 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_metaflac…
76valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac${EXE} $* 2>/de…
/aosp_15_r20/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
H A 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
/aosp_15_r20/external/lz4/tests/
H A DMakefile334 VALGRIND = valgrind --leak-check=yes --error-exitcode=1 macro
337 @echo "\n ---- valgrind tests : memory analyzer ----"
338 $(VALGRIND) $(DATAGEN) -g50M > $(VOID)
340 $(VALGRIND) $(LZ4) -9 -BD -f $(FPREFIX)dg16K $(VOID)
343 $(VALGRIND) $(LZ4) --force --multiple $(FPREFIX)dg16K $(FPREFIX)dg16K2 $(FPREFIX)dg16K3
345 $(VALGRIND) $(LZ4) -9 -B5D -f $(FPREFIX)dg7M $(FPREFIX)dg16K2
346 $(VALGRIND) $(LZ4) -t $(FPREFIX)dg16K2
347 $(VALGRIND) $(LZ4) -bi1 $(FPREFIX)dg7M
348 $(VALGRIND) ./fullbench -i1 $(FPREFIX)dg7M $(FPREFIX)dg16K2
349 $(VALGRIND) $(LZ4) -B4D -f -vq $(FPREFIX)dg7M $(VOID)
[all …]
/aosp_15_r20/external/llvm/lib/Support/
H A DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
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
16 #include "llvm/Support/Valgrind.h"
21 #include <valgrind/valgrind.h>
30 // Valgrind-provided macros.
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A 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.
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py2 run the command under test, under valgrind and collect memory leak info
23 self.sub_class = 'valgrind/SubPlugin'
33 if self.args.valgrind:
53 'valgrind',
54 'options for valgrindPlugin (run command under test under Valgrind)')
57 '-V', '--valgrind', action='store_true',
58 help='Run commands under valgrind')
67 if not self.args.valgrind:
81 … print('adjust_command: stage is {}; inserting valgrind stuff in command [{}] list [{}]'.
102 if not self.args.valgrind:
/aosp_15_r20/external/zstd/tests/
H A DMakefile272 # valgrind tests validated only for some posix platforms
278 .PHONY: test-valgrind
279 test-valgrind: VALGRIND = valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 macro
280 test-valgrind: zstd datagen fuzzer fullbench
281 @echo "\n ---- valgrind tests : memory analyzer ----"
282 $(VALGRIND) ./datagen -g50M > $(VOID)
283 …$(VALGRIND) $(PRGDIR)/zstd ; if [ $$? -eq 0 ] ; then echo "zstd without argument should have faile…
284 ./datagen -g80 | $(VALGRIND) $(PRGDIR)/zstd - -c > $(VOID)
285 ./datagen -g16KB | $(VALGRIND) $(PRGDIR)/zstd -vf - -c > $(VOID)
286 ./datagen -g2930KB | $(VALGRIND) $(PRGDIR)/zstd -5 -vf - -o tmp
[all …]
/aosp_15_r20/external/pytorch/aten/tools/
H A Drun_tests.sh5 VALGRIND_SUP="${PWD}/`dirname $0`/valgrind.sup"
8 VALGRIND=${VALGRIND:=ON}
54 if [ "$VALGRIND" == "ON" ]; then
55 # NB: As these tests are invoked by valgrind, let's leave them for now as it's
56 # unclear if valgrind -> python -> gtest would work
57valgrind --suppressions="$VALGRIND_SUP" --error-exitcode=1 "${CPP_TESTS_DIR}/basic" --gtest_filter…
59valgrind --suppressions="$VALGRIND_SUP" --error-exitcode=1 "${CPP_TESTS_DIR}/tensor_interop_test"
/aosp_15_r20/external/zstd/build/meson/tests/
H A DvalgrindTest.py15 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 ----')
71 parser = argparse.ArgumentParser(description='Valgrind tests : memory analyzer')
72 parser.add_argument('valgrind', help='valgrind path')
80 valgrind = args.valgrind
86 valgrindTest(valgrind, datagen, fuzzer, zstd, fullbench)
/aosp_15_r20/external/elfutils/
H A Dconfigure.ac369 AC_ARG_ENABLE([valgrind], optenable
370 AS_HELP_STRING([--enable-valgrind],[run all tests under valgrind]),
374 AC_MSG_ERROR([cannot enable valgrind and sanitize address together])
376 AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no)
378 AC_MSG_ERROR([valgrind not found])
383 AC_ARG_WITH([valgrind], optwith
384 AS_HELP_STRING([--with-valgrind],[include directory for Valgrind headers]),
390 #include <valgrind/valgrind.h>
394 [ AC_MSG_ERROR([invalid valgrind include directory: $with_valgrind_headers]) ])
397 AC_ARG_ENABLE([valgrind-annotations],
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A 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.

12345678910>>...49