Home
last modified time | relevance | path

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

12345678

/freebsd/sys/contrib/libsodium/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 …]
/freebsd/contrib/pam-krb5/tests/
H A DTESTS15 # Exclude the tests that use the pkinit.so MIT Kerberos module from valgrind
16 # testing (module/fast-anon and module/pkinit) because they cause valgrind to
22 module/alt-auth valgrind
23 module/bad-authtok valgrind
24 module/basic valgrind
25 module/cache valgrind
26 module/cache-cleanup valgrind
27 module/expired valgrind
28 module/fast valgrind
30 module/long valgrind
[all …]
H A Druntests.c1304 * valgrind
1305 * Run the test under valgrind if C_TAP_VALGRIND is set. The contents
1306 * of that environment variable are taken as the valgrind command (with
1311 * If running under valgrind, use libtool to invoke valgrind. This avoids
1312 * running valgrind on the wrapper shell script generated by libtool. If
1314 * to use to run valgrind and thus the test. Ignored if the test isn't
1315 * being run under valgrind.
1322 const char *valgrind = NULL; in parse_test_list_line() local
1337 } else if (strncmp(p, "valgrind", end - p) == 0) { in parse_test_list_line()
1338 valgrind = getenv("C_TAP_VALGRIND"); in parse_test_list_line()
[all …]
/freebsd/crypto/openssl/
H A DNOTES-VALGRIND.md1 Notes on Valgrind
4 [Valgrind](https://valgrind.org/) is a test harness that includes many tools such as memcheck,
6 run by Valgrind is memcheck. There are [other tools available](https://valgrind.org/info/tools.html…
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 [Valgrind Supported Platforms](http://valgrind.org/info/platforms.html)
17 2. Valgrind installed on the platform
18 - See [Valgrind Current Releases](http://valgrind.org/downloads/current.html)
35 "$(/bin/pwd)/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q"
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A 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.
/freebsd/contrib/llvm-project/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
16 #include "llvm/Support/Valgrind.h"
20 #include <valgrind/valgrind.h>
/freebsd/sys/contrib/zstd/zlibWrapper/
H A DMakefile70 valgrindTest: VALGRIND = LD_LIBRARY_PATH=$(ZSTDLIBDIR) valgrind --track-origins=yes --leak-check=fu… macro
72 @echo "\n ---- valgrind tests ----"
73 $(VALGRIND) ./example
74 $(VALGRIND) ./example_zstd
75 $(VALGRIND) ./fitblk 10240 <$(TEST_FILE)
76 $(VALGRIND) ./fitblk 40960 <$(TEST_FILE)
77 $(VALGRIND) ./fitblk_zstd 10240 <$(TEST_FILE)
78 $(VALGRIND) ./fitblk_zstd 40960 <$(TEST_FILE)
79 $(VALGRIND) ./zwrapbench -qi1b3B1K $(TEST_FILE)
80 $(VALGRIND) ./zwrapbench -rqi1b1e5 ../lib ../programs ../tests
/freebsd/contrib/pam-krb5/tests/valgrind/
H A Dlogs-t3 # Check for errors in valgrind logs.
44 plan skip_all => 'Not testing under valgrind';
50 # Gather the list of valgrind logs (and skip this test if there are none).
51 opendir(my $logdir, File::Spec->catfile('tests', 'tmp', 'valgrind'))
52 or plan skip_all => 'No valgrind logs in tests/tmp/valgrind';
59 my $path = File::Spec->catfile('tests', 'tmp', 'valgrind', $file);
81 # Remove tests/tmp/valgrind if it's now empty.
82 rmdir(File::Spec->catfile('tests', 'tmp', 'valgrind'));
/freebsd/crypto/openssh/regress/
H A Dvalgrind-unit.sh10 # regress tests under valgrind, except that we unconditionally enable
14 VG_LOG="$OBJ/valgrind-out/${VG_TEST}.%p"
17 VG_PATH="valgrind"
22 mkdir -p "$OBJ/valgrind-out"
H A Dtest-exec.sh209 rm -rf $OBJ/valgrind-out $OBJ/valgrind-vgdb
210 mkdir -p $OBJ/valgrind-out $OBJ/valgrind-vgdb
213 chmod 777 $OBJ/valgrind-out $OBJ/valgrind-vgdb
233 VG_LOG="$OBJ/valgrind-out/${VG_TEST}."
237 VG_OPTS="$VG_OPTS --vgdb-prefix=$OBJ/valgrind-vgdb/"
238 VG_PATH="valgrind"
251 cat > $OBJ/valgrind-sftp-server.sh << EOF
255 chmod a+rx $OBJ/valgrind-sftp-server.sh
256 SFTPSERVER="$OBJ/valgrind-sftp-server.sh"
1019 # need to wait for all valgrind processes to complete so we can check
[all …]
/freebsd/contrib/libxo/tests/
H A DMakefile.am29 valgrind: target
30 @echo '## Running the regression tests under Valgrind'
32 ${MAKE} VALGRIND='valgrind -q' tests
/freebsd/contrib/libpcap/testprogs/
H A Dvalgrindtest.c26 * valgrind properly handles the APIs libpcap uses. If it doesn't,
28 * valgrind claims are being made to uninitialized data, when, in
30 * valgrind *not* detecting *actual* incorrect references.
33 * by some versions of valgrind. See valgrind bug 318203 for
38 * and valgrind bug 312989 for macOS:
42 * The fixes for both of those are checked into the official valgrind
77 #error "Unknown platform or platform that doesn't support Valgrind"
106 * is Valgrind's checking of the system call to set the filter, and we
398 * structure. This should cause valgrind to report a in main()
414 * That should also cause valgrind to report a problem. in main()
[all …]
/freebsd/crypto/openssh/.github/
H A Dconfigs201 valgrind-[1-4]|valgrind-unit)
202 # rlimit sandbox and FORTIFY_SOURCE confuse Valgrind.
208 # Valgrind slows things down enough that the agent timeout test
215 valgrind-1)
216 # All tests except agent-timeout (which is flaky under valgrind),
218 # and hostbased (since valgrind won't let ssh exec keysign).
224 valgrind-2)
227 valgrind-3)
230 valgrind-4)
233 valgrind-unit)
/freebsd/contrib/pam-krb5/
H A DMakefile.am24 tests/data/scripts tests/data/valgrind.supp \
29 tests/valgrind/logs-t
190 # The full path to valgrind and its options, used when doing valgrind
195 --suppressions=$(abs_top_srcdir)/tests/data/valgrind.supp \
196 --log-file=$(abs_top_builddir)/tests/tmp/valgrind/log.%p
198 # Used by maintainers to run the main test suite under valgrind.
199 check-valgrind: $(check_PROGRAMS)
202 mkdir $(abs_top_builddir)/tests/tmp/valgrind
/freebsd/crypto/openssh/.github/workflows/
H A Dc-cpp.yml29 # Valgrind slows things down quite a bit, so start them first.
52 - { target: ubuntu-22.04, config: valgrind-1 }
53 - { target: ubuntu-22.04, config: valgrind-2 }
54 - { target: ubuntu-22.04, config: valgrind-3 }
55 - { target: ubuntu-22.04, config: valgrind-4 }
56 - { target: ubuntu-22.04, config: valgrind-unit }
150 regress/valgrind-out/
/freebsd/sys/contrib/zstd/
H A DTESTING.md25 - Valgrind Test (`make -C tests valgrindTest`) (testing CLI and fuzzer under valgrind)
39 - ZlibWrapper tests, including under valgrind
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.supp34 # This is a valgrind suppression file used for running zfsd_unittest with
35 # valgrind. It suppress spurious errors generated by the googletest and
39 # valgrind --suppressions=$PWD/zfsd_unittest.supp ./zfsd_unittest
/freebsd/contrib/pam-krb5/tests/module/
H A Dcache-cleanup-t.c54 * is the krb5.conf file that we generated and any valgrind logs, since in main()
65 if (strcmp(file->d_name, "valgrind") == 0) in main()
90 if (strcmp(file->d_name, "valgrind") == 0) in main()
H A Dfast-anon-t.c9 * PKINIT code cannot be tested under valgrind with MIT Kerberos due to some
10 * bug in valgrind.
/freebsd/contrib/one-true-awk/
H A DTODO16 3. Make the One True Awk valgrind clean. In particular add a
17 test suite target that runs valgrind on all the tests and
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A Dbugpoint.cpp31 #include "llvm/Support/Valgrind.h"
56 "400MB (800MB under valgrind, 0 with sanitizers)."));
59 UseValgrind("enable-valgrind",
60 cl::desc("Run optimizations through valgrind"));
/freebsd/contrib/pam-krb5/ci/
H A Dtest38 # Run the tests with valgrind.
39 make check-valgrind
/freebsd/contrib/xz/src/liblzma/lz/
H A Dlz_encoder.c112 // Silence Valgrind. lzma_memcmplen() can read extra bytes in fill_window()
113 // and Valgrind will give warnings if those bytes are uninitialized in fill_window()
114 // because Valgrind cannot see that the values of the uninitialized in fill_window()
385 // Keep Valgrind happy with lzma_memcmplen() and initialize in lz_encoder_init()
414 // make Valgrind complain in normalization (see normalize() in in lz_encoder_init()
572 // mf.size is initialized to silence Valgrind in lzma_lz_encoder_init()
574 // code in a way that Valgrind gets unhappy). in lzma_lz_encoder_init()
/freebsd/crypto/krb5/src/config/
H A Dpre.in234 RUNPYTEST = PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
400 # message catalog, and use valgrind when asked.
402 LC_ALL=C $(VALGRIND)
590 VALGRIND=
594valgrind --tool=memcheck --log-file=$(VALGRIND_LOGDIR)/vg.%p --trace-children=yes --leak-check=ye…
/freebsd/contrib/libxo/tests/core/
H A DMakefile.am85 valgrind: target
86 @echo '## Running the regression tests under Valgrind'
87 ${MAKE} CHECKER='valgrind -q' tests

12345678