| /freebsd-src/crypto/openssl/ |
| H A 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. 13 ------------ 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> [all …]
|
| /freebsd-src/sys/contrib/libsodium/m4/ |
| H A D | ax_valgrind_check.m4 | 2 # 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-src/crypto/openssh/regress/ |
| H A D | valgrind-unit.sh | 9 # 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 D | test-exec.sh | 1 # $OpenBSD: test-exec.sh,v 1.108 2024/03/08 11:34:10 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 D | Makefile | 3 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-src/crypto/openssh/.github/ |
| H A D | configs | 18 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 …]
|
| H A D | setup_ci.sh | 15 setfacl -b . regress 16 PACKAGES="$PACKAGES,autoconf,automake,cygwin-devel,gcc-core" 17 PACKAGES="$PACKAGES,make,openssl-devel,zlib-devel" 19 *-darwin*) 32 set -e 34 if [ -x "`which lsb_release 2>&1`" ]; then 35 lsb_release -a 38 if [ ! -z "$SUDO" ]; then 40 # agent-getpeerid test from running ssh-add as nobody. See 41 # https://github.com/actions/runner-images/issues/6106 [all …]
|
| /freebsd-src/crypto/openssh/.github/workflows/ |
| H A D | c-cpp.yml | 11 if: github.repository != 'openssh/openssh-portable-selfhosted' 13 fail-fast: false 17 - ubuntu-20.04 18 - ubuntu-22.04 19 - macos-11 20 - macos-12 21 - macos-13 22 - windows-2019 23 - windows-2022 26 # Valgrind slows things down quite a bit, so start them first. [all …]
|
| H A D | selfhosted.yml | 1 name: C/C++ CI self-hosted 9 if: github.repository == 'openssh/openssh-portable-selfhosted' 10 runs-on: ${{ matrix.host }} 11 timeout-minutes: 600 17 fail-fast: false 23 - alpine 24 - centos7 25 - debian-i386 26 - dfly30 27 - dfly48 [all …]
|
| /freebsd-src/cddl/usr.sbin/zfsd/tests/ |
| H A D | zfsd_unittest.supp | 1 #- 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-src/contrib/libxo/tests/core/ |
| H A D | Makefile.am | 11 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-src/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 1 //===- OptimizerDriver.cpp - Allow BugPoint to run passes safely ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 42 "preserve-bc-uselistorder", 43 cl::desc("Preserve use-list order when writing LLVM bitcode."), 47 OptCmd("opt-command", cl::init(""), 53 static bool writeProgramToFileAux(ToolOutputFile &Out, const Module &M) { in writeProgramToFileAux() argument 54 WriteBitcodeToFile(M, Out.os(), PreserveBitcodeUseListOrder); in writeProgramToFileAux() 55 Out.os().close(); in writeProgramToFileAux() [all …]
|
| /freebsd-src/contrib/libxo/tests/gettext/ |
| H A D | Makefile.am | 12 -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-src/contrib/xz/src/liblzma/lz/ |
| H A D | lz_encoder.c | 1 // 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-src/contrib/jemalloc/ |
| H A D | ChangeLog | 14 - Fix a severe virtual memory leak on Windows. This regression was first 15 released in 5.0.0. (@Ignition, @j0t, @frederik-h, @davidtgoldblatt, 17 - Fix size 0 handling in posix_memalign(). This regression was first released 19 - Fix the prof_log unit test which may observe unexpected backtraces from 22 - Fix the declaration of the extent_avail tree. This regression was first 24 - Fix an incorrect reference in jeprof. This functionality was first released 25 in 3.0.0. (@prehistoric-penguin) 26 - Fix an assertion on the deallocation fast-path. This regression was first 28 - Fix the TLS_MODEL attribute in headers. This regression was first released 32 - Implement opt.retain on Windows and enable by default on 64-bit. (@interwq, [all …]
|
| /freebsd-src/contrib/unbound/util/storage/ |
| H A D | lookup3.c | 2 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 ------- [all...] |
| /freebsd-src/contrib/libcbor/doc/source/ |
| H A D | development.rst | 5 --------------------------- 9 contributors are working towards the same high-level goal. This document 10 attempts to set out the basic principles of libcbor and the rationale behind 18 *libcbor* is the compact, full-featured, and safe CBOR library that works 31 standards. Clients expect the support to be feature-complete and 33 cutting corners, which means that the incremental cost of full [CBOR standard](https://www.rfc-edit… 34 comparatively small over "almost-conformance" seen in many alternatives. 43 vulnerabilities are violations of contracts -- in other words, bugs -- anyway. 46 Self-containment 60 **Why?** Lowest-common-denominator solution for system-level and IoT software [all …]
|
| /freebsd-src/contrib/bc/include/ |
| H A D | library.h | 4 * 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-src/contrib/bc/ |
| H A D | MEMORY_BUGS.md | 4 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 D | configure | 3 # 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...] |
| H A D | configure.sh | 3 # 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-src/crypto/heimdal/lib/krb5/ |
| H A D | test_mem.c | 30 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 37 * Test run functions, to be used with valgrind to detect memoryleaks. 54 krb5_initlog(context, "test-mem", &logfacility); in check_log()
|
| /freebsd-src/contrib/bc/tests/ |
| H A D | bcl.c | 4 * 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 118 n4 = bcl_parse("-28390.9108273"); in main() 131 if (strcmp(res, "-25452.9108273")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 134 // Valgrind. in main() 142 if (strcmp(res, "-25452.910827 in main() [all...] |
| /freebsd-src/contrib/libarchive/cat/ |
| H A D | bsdcat.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2011-2014, Mike Kazantsev 41 "Usage: %s [-h] [--help] [- [all...] |
| /freebsd-src/contrib/ncurses/misc/ |
| H A D | ncurses.supp | 22 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 31 # This is a warning-suppression file for valgrind and ncurses. 33 # ncurses can also be configured using the --disable-leaks option, which
|