| /third_party/libabigail/autoconf-archive/ |
| D | ax_valgrind_check.m4 | 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… 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/openssl/ |
| D | NOTES-VALGRIND.md | 1 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/pcre2/pcre2/ |
| D | RunGrepTest | 25 # 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 …]
|
| D | RunTest | 35 # 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";; 297 …valgrind-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/skia/m133/infra/bots/assets/valgrind/ |
| D | create.py | 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)): 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/skia/infra/bots/assets/valgrind/ |
| D | create.py | 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)): 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/ |
| D | runall-memorydebugger.sh | 5 # 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.yml | 1 # 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/ |
| D | README.valgrind | 1 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 …]
|
| /third_party/rust/crates/minimal-lexical/.github/workflows/ |
| D | Valgrind.yml | 1 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-subzero/include/llvm/Support/ |
| D | Valgrind.h | 1 //===- 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/lib/Support/ |
| D | Valgrind.cpp | 1 //===-- 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/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/ |
| D | CMakeLists.txt | 21 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | Valgrind.h | 1 //===- 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/ |
| D | run-shape-fuzzer-tests.py | 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 ():
|
| D | run-draw-fuzzer-tests.py | 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 ():
|
| D | run-subset-fuzzer-tests.py | 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 ():
|
| /third_party/skia/m133/third_party/externals/harfbuzz/test/fuzzing/ |
| D | run-draw-fuzzer-tests.py | 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 ():
|
| D | run-shape-fuzzer-tests.py | 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 ():
|
| D | run-repacker-fuzzer-tests.py | 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 ():
|
| D | run-subset-fuzzer-tests.py | 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 ():
|
| /third_party/cJSON/ |
| D | .travis.yml | 6 - 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/iptables/iptables/tests/shell/ |
| D | run-tests.sh | 9 Usage: $(basename $0) [-v|--verbose] [-H|--host] [-V|--valgrind] 15 -V | --valgrind Enable leak checking via valgrind. 65 -V|--valgrind) 66 VALGRIND=y 112 # note: valgrind man page warns about --log-file with --trace-children, the 117 valgrind --log-file=$2/valgrind.log --trace-children=yes \ 122 if grep -q 'no leaks are possible' $2/valgrind.log; then 123 rm $2/valgrind.log 125 mv $2/valgrind.log $2/valgrind_\$\$.log 135 if [ "$VALGRIND" == "y" ]; then [all …]
|
| /third_party/cups/test/ |
| D | 5.5-lp.sh | 16 $runcups $VALGRIND ../systemv/lp ../examples/testfile.pdf 2>&1 28 $runcups $VALGRIND ../systemv/lp -d Test3 -o fit-to-page ../examples/testfile.jpg 2>&1 40 $runcups $VALGRIND ../systemv/lp -d Test1 -P 1-4 -o job-sheets=classified,classified ../examples/te… 52 $runcups $VALGRIND ../systemv/lp -d Test1 -P -5 ../examples/testfile.pdf 2>&1 64 $runcups $VALGRIND ../systemv/lp -d Test1 -P 5- ../examples/testfile.pdf 2>&1 82 $runcups $VALGRIND ../systemv/lp -d test-$j ../examples/testfile.jpg 2>&1 86 $runcups $VALGRIND ../systemv/lp -d Test1 ../examples/testfile.jpg 2>&1 & 88 $runcups $VALGRIND ../systemv/lp -d Test2 ../examples/testfile.jpg 2>&1 & 107 $runcups $VALGRIND ../systemv/lpstat -W completed -o | tee $BASE/lpstat-completed.txt
|
| /third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/ |
| D | CMakeLists.txt | 22 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
|