Home
last modified time | relevance | path

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

12345

/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.
13 ------------
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)
[all …]
/freebsd/sys/contrib/libsodium/m4/
H A 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 …]
/freebsd/crypto/openssh/regress/
H A Dvalgrind-unit.sh9 # This mostly replicates the logic in test-exec.sh for running the
10 # regress tests under valgrind, except that we unconditionally enable
12 VG_LEAK="--leak-check=full"
14 VG_LOG="$OBJ/valgrind-out/${VG_TEST}.%p"
15 VG_OPTS="--track-origins=yes $VG_LEAK --log-file=${VG_LOG}"
16 VG_OPTS="$VG_OPTS --trace-children=yes"
17 VG_PATH="valgrind"
22 mkdir -p "$OBJ/valgrind-out"
H A Dtest-exec.sh1 # $OpenBSD: test-exec.sh,v 1.127 2025/03/28 05:41:15 dtucker Exp $
6 if [ ! -z "$TEST_SSH_ELAPSED_TIMES" ]; then
10 if [ ! -z "$TEST_SSH_PORT" ]; then
21 if [ ! -d $OBJ ]; then
30 if [ ! -f $SCRIPT ]; then
34 if $TEST_SHELL -n $SCRIPT; then
42 # Portable-specific settings.
44 if [ -x /usr/ucb/whoami ]; then
51 USER=`id -un`
53 if test -z "$LOGNAME"; then
[all …]
H A DMakefile3 tests: prep file-tests t-exec unit
8 file-tests: $(REGRESS_TARGETS)
11 interop interop-tests: t-exec-interop
13 extra extra-tests: t-extra
16 test "x${USE_VALGRIND}" = "x" || mkdir -p $(OBJ)/valgrind-out
19 for F in $(CLEANFILES); do rm -f $(OBJ)$$F; done
20 rm -rf $(OBJ).putty
21 rm -rf $(OBJ).dropbear
26 proxy-connect \
27 sshfp-connect \
[all …]
/freebsd/contrib/pam-krb5/tests/valgrind/
H A Dlogs-t3 # Check for errors in valgrind logs.
5 # The canonical version of this file is maintained in the rra-c-util package,
6 # which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
8 # Copyright 2018-2019, 2021 Russ Allbery <eagle@eyrie.org>
25 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28 # SPDX-License-Identifier: MIT
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';
[all …]
/freebsd/crypto/openssh/.github/
H A Dconfigs18 TEST_TARGET="tests compat-tests"
33 # If we don't have LLONG_MAX, configure will figure out that it can
34 # get it by setting -std=gnu99, at which point we won't be testing
36 llong_max=`gcc -E -dM - </dev/null | \
38 CPPFLAGS="-DLLONG_MAX=${llong_max}"
41 CFLAGS="-Wall -std=c89 -pedantic -Werror=vla"
42 CONFIGFLAGS="--without-zlib"
43 LIBCRYPTOFLAGS="--without-openssl"
44 TEST_TARGET=t-exec
46 cygwin-release)
[all …]
/freebsd/crypto/openssh/.github/workflows/
H A Dc-cpp.yml5 ….m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yml' ]
7 ….m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yml' ]
12 if: github.repository != 'openssh/openssh-portable-selfhosted'
14 fail-fast: false
18 - ubuntu-22.04
19 - ubuntu-latest
20 - ubuntu-22.04-arm
21 - ubuntu-24.04-arm
22 - macos-13
23 - macos-14
[all …]
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.supp1 #-
27 # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 # 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/libxo/tests/core/
H A DMakefile.am11 AM_CFLAGS = -I${top_srcdir} -I${top_srcdir}/libxo
49 LDADD += -lutil
55 ${addprefix saved/, ${TEST_CASES:.c=.E.out}} \
57 ${addprefix saved/, ${TEST_CASES:.c=.H.out}} \
59 ${addprefix saved/, ${TEST_CASES:.c=.HIPx.out}} \
61 ${addprefix saved/, ${TEST_CASES:.c=.HP.out}} \
63 ${addprefix saved/, ${TEST_CASES:.c=.J.out}} \
65 ${addprefix saved/, ${TEST_CASES:.c=.JP.out}} \
67 ${addprefix saved/, ${TEST_CASES:.c=.JPu.out}} \
69 ${addprefix saved/, ${TEST_CASES:.c=.T.out}} \
[all …]
/freebsd/contrib/pam-krb5/tests/module/
H A Dcache-cleanup-t.c12 * SPDX-License-Identifier: BSD-3-clause or GPL-1+
39 config.user = krbconf->username; in main()
40 config.authtok = krbconf->password; in main()
41 config.extra[0] = krbconf->userprinc; in main()
44 kerberos_generate_conf(krbconf->realm); in main()
54 * is the krb5.conf file that we generated and any valgrind logs, since in main()
55 * we're going to check for cleanup by looking for any out-of-place files. in main()
61 if (strcmp(file->d_name, ".") == 0 || strcmp(file->d_name, "..") == 0) in main()
63 if (strcmp(file->d_name, "krb5.conf") == 0) in main()
65 if (strcmp(file->d_name, "valgrind") == 0) in main()
[all …]
H A Dfast-anon-t.c2 * Tests for anonymous FAST support in pam-krb5.
8 * This is broken out from the other FAST tests because it uses PKINIT, and
9 * PKINIT code cannot be tested under valgrind with MIT Kerberos due to some
10 * bug in valgrind.
17 * SPDX-License-Identifier: BSD-3-clause or GPL-1+
93 config.user = krbconf->username; in main()
94 config.authtok = krbconf->password; in main()
95 config.extra[0] = krbconf->userprinc; in main()
96 kerberos_generate_conf(krbconf->realm); in main()
105 run_script("data/scripts/fast/anonymous-debug", &config); in main()
/freebsd/contrib/pam-krb5/tests/
H A Druntests.c8 * should be sent to the e-mail address below. This program is part of C TAP
9 * Harness <https://www.eyrie.org/~eagle/software/c-tap-harness/>.
11 * Copyright 2000-2001, 2004, 2006-2019 Russ Allbery <eagle@eyrie.org>
28 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
31 * SPDX-License-Identifier: MIT
37 * runtests [-hv] [-b <build-dir>] [-s <source-dir>] -l <test-list>
38 * runtests [-hv] [-b <build-dir>] [-s <source-dir>] <test> [<test> ...]
39 * runtests -o [-h] [-b <build-dir>] [-s <source-dir>] <test>
42 * one line per executable, possibly followed by a space-separated list of
79 * If the -o option is given, instead run a single test and display all of its
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp1 //===- OptimizerDriver.cpp - Allow BugPoint to run passes safely --------
53 writeProgramToFileAux(ToolOutputFile & Out,const Module & M) writeProgramToFileAux() argument
65 ToolOutputFile Out(Filename, FD); writeProgramToFile() local
82 ToolOutputFile Out(Filename, EC, sys::fs::OF_None); writeProgramToFile() local
[all...]
/freebsd/contrib/libxo/tests/gettext/
H A DMakefile.am12 -I${top_srcdir} \
13 -I${top_srcdir}/libxo \
30 LDADD += -lutil
36 ${addprefix saved/, ${TEST_CASES:.c=.T.out}} \
38 ${addprefix saved/, ${TEST_CASES:.c=.XP.out}} \
40 ${addprefix saved/, ${TEST_CASES:.c=.JP.out}} \
42 ${addprefix saved/, ${TEST_CASES:.c=.HP.out}} \
44 ${addprefix saved/, ${TEST_CASES:.c=.X.out}} \
46 ${addprefix saved/, ${TEST_CASES:.c=.J.out}} \
48 ${addprefix saved/, ${TEST_CASES:.c=.H.out}} \
[all …]
/freebsd/contrib/xz/src/liblzma/lz/
H A Dlz_encoder.c1 // SPDX-License-Identifier: 0BSD
26 /// LZ-based encoder e.g. LZMA
39 /// mf->buffer is a sliding input window, which keeps mf->keep_size_before
47 // Align the move to a multiple of 16 bytes. Some LZ-based encoders in move_window()
48 // like LZMA use the lowest bits of mf->read_pos to know the in move_window()
51 assert(mf->read_pos > mf->keep_size_before); in move_window()
53 = (mf->read_pos - mf->keep_size_before) & ~UINT32_C(15); in move_window()
55 assert(mf->write_pos > move_offset); in move_window()
56 const size_t move_size = mf->write_pos - move_offset; in move_window()
58 assert(move_offset + move_size <= mf->size); in move_window()
[all …]
/freebsd/contrib/jemalloc/
H A DChangeLog13 workloads. The release has gone through large-scale production testing.
16 - Add the thread.idle mallctl which hints that the calling thread will be
18 - Allow small size classes to be the maximum size class to cache in the
19 thread-specific cache, through the opt.[lg_]tcache_max option. (@interwq,
21 - Make the behavior of realloc(ptr, 0) configurable with opt.zero_realloc.
23 - Add 'make uninstall' support. (@sangshuduo, @Lapenkov)
24 - Support C++17 over-aligned allocation. (@marksantaniello)
25 - Add the thread.peak mallctl for approximate per-threa
[all...]
/freebsd/crypto/krb5/src/config/
H A Dpre.in6 # These are set per-directory by autoconf 2.52 and 2.53:
23 all: all-$(WHAT)
25 clean: clean-$(WHAT)
27 distclean: distclean-$(WHAT)
29 install: install-$(WHAT)
31 check: check-$(WHAT)
33 install-headers: install-headers-$(WHAT)
43 # Each recursive target foo-unix has related targets: foo-prerecurse,
44 # foo-recurse, and foo-postrecurse
46 # The foo-recurse rule is in post.in. It is what actually recursively
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dlookup3.c2 May 2019(Wouter) patch to enable the valgrind clean implementation all the
8 added #ifdef VALGRIND to remove 298,384,660 'unused variable k8' warnings.
10 removed include of stdint - config.h takes care of platform independence.
15 -------------------------------------------------------------------------------
18 These are functions for producing 32-bit hashes for hash table lookup.
26 little-endian machines. Intel and AMD are little-endian machines.
28 hashlittle() except it returns two 32-bit hashes for the price of one.
39 4-byte integers to hash, use hashword(). If you have a byte array (like
43 Why is this so big? I read 12 bytes at a time into 3 4-byte integers,
47 -------------------------------------------------------------------------------
[all …]
/freebsd/contrib/bc/include/
H A Dlibrary.h4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53 * A typedef for Valgrind builds. This is to add a generation index for error
72 ((n).i & ~(((size_t) UCHAR_MAX) << ((sizeof(size_t) - 1) * CHAR_BIT)))
79 #define BCL_GET_GEN(n) ((n).i >> ((sizeof(size_t) - 1) * CHAR_BIT))
86 #define BCL_NUM(c, n) ((BclNum*) bc_vec_item(&(c)->num
[all...]
/freebsd/contrib/libcbor/doc/source/
H A Ddevelopment.rst5 ----------
[all...]
/freebsd/contrib/bc/
H A DMEMORY_BUGS.md4 of `bc`, `dc`, or `bcl`. (Non-released commits with memory bugs do not count.)
15 out of bounds read and write in history when pressing ctrl+r (or any other
21 double-free on `SIGINT` when using command-line expressions with `-e` and
22 `-f`. This was caused by not properly ending a jump series.
27 possible out-of-bounds read when there is an error flushing `stdout` on exit
34 out
[all...]
H A Dconfigure.sh3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2024 Gavin D. Howard and contributors.
26 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 if [ $# -gt 0 ]; then
53 printf ' %s -h\n' "$script"
54 printf ' %s --help\n' "$script"
55 …printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$scri…
56 printf ' [-s SETTING] [-S SETTING] [-p TYPE]\n'
58 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage] \\\n'
59 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
[all …]
H A Dconfigure3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2024 Gavin D. Howard and contributors.
26 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 if [ $# -gt 0 ]; then
53 printf ' %s -h\n' "$script"
54 printf ' %s --hel
[all...]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A DMakefile.in7 $(VALGRIND)
43 $(CC_LINK) -o $@ t_vectors.o $(STLIBOBJS) $(SHLIB_EXPLIBS)
45 all-unix: all-liblinks
46 install-unix: install-libs
47 clean-unix:: clean-liblinks clean-libs clean-libobjs
52 check-unix: t_vectors
55 all-windows: $(OUTPRE)$(SPAKELIB).dll
56 clean-windows::
60 link /dll $(LOPTS) -def:spake.def -out:$*.dll $(OBJS) $(WINLIBS)

12345