Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:ubsan (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/crypto/openssl/fuzz/
H A DREADME.md7 ---------
13 -----------------------------------
15 Install `clang`, which [ships with `libfuzzer`](http://llvm.org/docs/LibFuzzer.html#fuzzer-usage)
18 sudo apt-get install clang
23 `/usr/lib/llvm-7/lib/clang/7.0.1/lib/linux/libclang_rt.fuzzer-x86_64.a`.
25 CC=clang ./config enable-fuzz-libfuzzer \
26 --with-fuzzer-lib=$PATH_TO_LIBFUZZER \
27 -DPEDANTIC enable-asan enable-ubsan no-shared \
28 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \
29 -fsanitize=fuzzer-no-link \
[all …]
/freebsd/sys/contrib/openzfs/rpm/generic/
H A Dzfs.spec.in27 %global _bashcompletiondir /usr/share/bash-completion
49 %global _presetdir %{_prefix}/lib/systemd/system-preset
53 %global _modulesloaddir %{_prefix}/lib/modules-load.d
57 %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators
67 %bcond_with ubsan
72 # Generic enable switch for systemd
90 … %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib(…
100 Source0: %{name}-%{version}.tar.gz
101 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
102 Requires: libzpool6%{?_isa} = %{version}-%{release}
[all …]
/freebsd/sys/contrib/openzfs/rpm/redhat/
H A Dzfs.spec.in27 %global _bashcompletiondir /usr/share/bash-completion
49 %global _presetdir %{_prefix}/lib/systemd/system-preset
53 %global _modulesloaddir %{_prefix}/lib/modules-load.d
57 %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators
67 %bcond_with ubsan
72 # Generic enable switch for systemd
90 %define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
100 Source0: %{name}-%{version}.tar.gz
101 BuildRoot: %{_tmppath}/%{name}-
[all...]
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzloop.yml8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
9 cancel-in-progress: true
13 runs-on: ubuntu-24.04
17 - uses: actions/checkout@v4
20 - name: Install dependencies
22 sudo apt-get purge -y snapd google-chrome-stable firefox
23 ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps.sh ubuntu24
24 - name: Autogen.sh
26 sed -i '/DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
28 - name: Configure
[all …]
/freebsd/sys/contrib/openzfs/config/
H A Dalways-compiler-options.m42 dnl # Enabled -fsanitize=address if supported by $CC.
4 dnl # LDFLAGS needs -fsanitize=address at all times so libraries compiled with
8 dnl # the behavior of binaries and libraries build with -fsanitize=address.
11 AC_MSG_CHECKING([whether to build with -fsanitize=address support])
13 [AS_HELP_STRING([--enable-asan],
14 [Enable -fsanitize=address support @<:@default=no@:>@])],
23 AC_MSG_CHECKING([whether $CC supports -fsanitize=address])
25 CFLAGS="$CFLAGS -Werror -fsanitize=address"
29 ASAN_CFLAGS="-fsanitize=address"
30 ASAN_LDFLAGS="-fsanitize=address"
[all …]
/freebsd/share/mk/
H A Dbsd.sanitizer.mk6 SANITIZER_CFLAGS+= -fsanitize=address -fPIC
9 SANITIZER_CFLAGS+= -fsanitize-recover=address
10 SANITIZER_LDFLAGS+= -fsanitize=address
15 # Unlike the other sanitizers, UBSan could also work for static libraries.
17 # -fsanitize-minimal-runtime flag), so only enable it for dynamically linked
19 SANITIZER_CFLAGS+= -fsanitize=undefined
20 SANITIZER_CFLAGS+= -fsanitize-recover=undefined
21 SANITIZER_LDFLAGS+= -fsanitize=undefined
34 .include "../../lib/libclang_rt/compiler-rt-vars.mk"
38 LDFLAGS:= ${LDFLAGS:N-Wl,-no-undefined:N-Wl,--no-undefined}
/freebsd/crypto/openssl/
H A DConfigure2 # -*- mode: perl; -*-
3 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
10 ## Configure -- OpenSSL source tree configuration script
30-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[n…
42 *** perl configdata.pm --dump ***
52 # --config add the given configuration file, which will be read after
55 # --prefix prefix for the OpenSSL installation, which includes the
59 # --openssldir OpenSSL data area, such as openssl.cnf, certificates and keys.
61 # given with --prefix.
64 # --banner=".." Output specified text instead of default completion banner
[all …]
H A DINSTALL.md11 - [Prerequisites](#prerequisites)
12 - [Notational Conventions](#notational-conventions)
13 - [Quick Installation Guide](#quick-installation-guide)
14 - [Building OpenSSL](#building-openssl)
15 - [Installing OpenSSL](#installing-openssl)
16 - [Configuration Options](#configuration-options)
17 - [API Level](#api-level)
18 - [Cross Compile Prefix](#cross-compile-prefix)
19 - [Build Type](#build-type)
20 - [Directories](#directories)
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_rtl.cpp1 //===-- asan_rtl.cpp ------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Main file of the ASan run-time library.
12 //===----------------------------------------------------------------------===//
33 #include "ubsan/ubsan_init.h"
34 #include "ubsan/ubsan_platform.h"
47 // Don't die twice - run a busy loop. in AsanDie()
52 if (common_flags()->print_module_map >= 1) in AsanDie()
55 WaitForDebugger(flags()->sleep_before_dying, "before dying"); in AsanDie()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp1 //===-- msan.cpp ----------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
31 #include "ubsan/ubsan_flags.h"
32 #include "ubsan/ubsan_init.h"
42 // Function argument shadow. Each argument starts at the next available 8-byte
83 static void ExitSymbolizerOrUnwider() { --is_in_symbolizer_or_unwinder; } in ExitSymbolizerOrUnwider()
104 // ... is not in [-2147483648, 2147483647]; references section '.bss'").
146 RegisterFlag(parser, #Name, Description, &f->Name); in RegisterMsanFlags()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp1 //===-- hwasan.cpp --------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
34 #include "ubsan/ubsan_flags.h"
35 #include "ubsan/ubsan_init.h"
68 RegisterFlag(parser, #Name, Description, &f->Name); in RegisterHwasanFlags()
81 // FIXME: test and enable. in InitializeFlags()
108 f->SetDefaults(); in InitializeFlags()
116 lf->SetDefaults(); in InitializeFlags()
[all …]
/freebsd/share/man/man5/
H A Dsrc.conf.51 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
40 may be necessary if the system-wide settings are not suitable
72 .Pa /etc/src-env.conf .
79 as they are environment-only variables.
96 .Bl -tag -width indent
114 memory corruption bugs such as buffer overflows or use-after-free.
119 .Bl -item -compact
147 .Pa /etc/src-env.conf ,
182 .Bl -inset -compact
216 flag set to indicate that the run-time loader should perform all relocation
[all …]
/freebsd/sys/contrib/zstd/
H A DCHANGELOG2 perf: Regain Minimal memset()-ing During Reuse of Compression Contexts (@Cyan4973, #2969)
12 perf: faster mid-level compression speed in presence of highly repetitive patterns, by @senhuang42
16 perf: on-demand reduced ZSTD_DCtx state size, using build macro ZSTD_DECODER_INTERNAL_BUFFER, at a …
20 build: improved meson unofficial build, by @eli-schwartz
22 …t advanced parameters information when compressing in very verbose mode (``-vv`), by @Svetlitski-FB
25 api: Various functions promoted from experimental to stable API: (#2579-2581, @senhuang42)
39 api: ZSTDMT_NBWORKERS_MAX reduced to 64 for 32-bit environments (@Cyan4973)
42 perf: Decompression loop refactor, speed improvements on `clang` and for `--long` modes (#2614 #263…
45 bug: Fix large dictionary non-determinism (#2607, @terrelln)
46 bug: Fix non-determinism test failures on Linux i686 (#2606, @terrelln)
[all …]
/freebsd/contrib/expat/
H A DChanges14 !! - <blink>fixing a complex non-public security issue</blink>, !!
15 !! - teaming up on researching and fixing future security reports and !!
16 !! ClusterFuzz findings with few-days-max response times in communication !!
19 !! - implementing and auto-testing XML 1.0r5 support !!
21 !! - smart ideas on fixing the Autotools CMake files generation issue !!
23 !! - the Windows binaries topic (needs requirements engineering first), !!
24 !! - pushing migration from `int` to `size_t` further !!
25 !! including edge-cases test coverage (needs discussion before anything). !!
27 !! For details, please reach out via e-mail to sebastian@pipping.org so we !!
30 !! THANK YOU! Sebastian Pipping -- Berlin, 2024-03-09 !!
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DSanitizerArgs.cpp1 //===--- SanitizerArgs.cpp - Arguments for sanitizer tools ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
112 /// Parse a -fsanitize= or -fno-sanitize= argument's values, diagnosing any
117 /// Parse -f(no-)?sanitize-coverage= flag values, diagnosing any invalid
122 /// Parse -f(no-)?sanitize-metadata= flag values, diagnosing any invalid
129 /// "-fsanitize=thread,vptr -fsanitize=address" with mask \c NeedsUbsanRt
130 /// would produce "-fsanitize=vptr".
137 /// "-fsanitize=address,alignment" with mask \c NeedsUbsanRt would produce
138 /// "-fsanitize=alignment".
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp1 //===-- tsan_rtl.cpp ------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Main file (entry points) for the TSan run-time.
12 //===----------------------------------------------------------------------===//
30 #include "ubsan/ubsan_init.h"
52 "initial-exec"))) char cur_thread_placeholder[sizeof(ThreadState)];
57 // Can be overriden by a front-end.
83 Lock lock(&ctx->slot_mtx); in TracePartAlloc()
84 uptr max_parts = Trace::kMinParts + flags()->history_size; in TracePartAlloc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp1 //===- LoopUnroll.cpp - Loop unroller pass --------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // been canonicalized by the -indvars pass, allowing it to determine the trip
12 //===----------------------------------------------------------------------===//
74 #define DEBUG_TYPE "loop-unroll"
77 "forget-scev-loop-unroll", cl::init(false), cl::Hidden,
79 " the current top-most loop. This is sometimes preferred to reduce"
83 UnrollThreshold("unroll-threshold", cl::Hidden,
88 "unroll-optsize-threshold", cl::init(0), cl::Hidden,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td1 //===--- Options.td - Options for clang -----------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
38 // The option is a "driver"-only option, and should not be forwarded to other
39 // tools via `-Xarch` options.
42 // LinkerInput - The option is a linker input.
45 // NoArgumentUnused - Don't report argument unused warnings for this option; this
46 // is useful for options like -static or -dynamic which a user may always end up
50 // Unsupported - The option is unsupported, and the driver will reject command
[all …]
/freebsd/contrib/tcpdump/
H A DCHANGES5 BGP: Fix an undefined behavior when it tries to parse a too-short packet.
7 CDP: only hex-dump unknown TLVs in verbose mode.
9 DHCPv6: client-id/server-id DUID type 2 correction; parse the user class,
10 boot file URL, and SZTP redirect options; add DUID-UUID printing
12 DNS: Detect and correctly handle too-short URI RRs.
20 IP: Enable TSO (TCP Segmentation Offload) support; fix printing invalid
25 IPv6: Fix invalid 32-bit versus 64-bit printouts of fragment headers.
37 NFS: Avoid printing non-ASCII characters.
39 OSPF: Update LS-Ack printing not to run off the end of the packet.
44 Use the buffer stack for de-escaping PPP; fixes CVE-2024-2397;
[all …]
/freebsd/contrib/file/
H A DChangeLog1 2023-07-27 15:45 Christos Zoulas <christos@zoulas.com>
5 2023-07-17 11:53 Christos Zoulas <christos@zoulas.com>
9 2023-05-21 13:05 Christos Zoulas <christos@zoulas.com>
13 2023-02-09 12:50 Christos Zoulas <christos@zoulas.com>
18 2023-01-08 1:08 Christos Zoulas <christos@zoulas.com>
22 2022-12-26 1:47 Christos Zoulas <christos@zoulas.com>
24 * PR/408: fix -p with seccomp
27 2022-12-26 12:26 Christos Zoulas <christos@zoulas.com>
31 2022-12-14 9:24 Christos Zoulas <christos@zoulas.com>
36 2022-10-23 10:21 Christos Zoulas <christos@zoulas.com>
[all …]
/freebsd/contrib/unbound/doc/
H A DChangelog2 - Fix for dnsoverquic and dnstap to use the correct dnstap
6 - Fix for dnstap with dnscrypt and dnstap without dnsoverquic.
9 - Fix to display warning if quic-port is set but dnsoverquic is not
11 - Fix dnsoverquic to extend the number of streams when one is closed.
14 - Fix to disable detection of quic configured ports when quic is
16 - Fix harden-unverified-glue for AAAA cache_fill_missing lookups.
17 - Fix contrib/aaaa-filter-iterator.patch for change in call
21 - Fix cookie_file test sporadic fails for time change during
23 - Fix add reallocarray to alloc stats unit test, and disable
24 override of strdup in unbound-host, and the result of config
[all …]
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt1 ----------------------------------------
6 …e ASL/AML Timer() operator. Discovered by UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:40…
12 1) ACPICA kernel-resident subsystem:
16 Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE -> ACPI_CDAT_DSMAS_NON_VOLATILE. R…
18 1) ACPICA kernel-resident subsystem:
20 Fix GCC 12 dangling-pointer warning. We're storing a persistent pointer to an ephemeral local vari…
22 Also, some C run-times (like MUSL) aren't including <stdint.h> indirectly so we must include it exp…
26 IASL/RHCT: Enable dumping and compiling newly added nodes. The RHCT table is updated with new nodes…
31 ----------------------------------------
41 Add OS-specific support for Zephyr RTOS.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp1 //===--- Darwin.cpp - Darwin Tool and ToolChain Implementations -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
43 // See arch(3) and llvm-gcc's driver-driver.c. We don't implement support for in getArchTypeForMachOArchName()
48 // historically the driver accepts this and also ties its -march= in getArchTypeForMachOArchName()
86 // Don't reject these -version-min= if we have the appropriate triple. in setTripleTypeForMachOArchName()
89 A->ignoreTargetSpecific(); in setTripleTypeForMachOArchName()
92 A->ignoreTargetSpecific(); in setTripleTypeForMachOArchName()
95 A->ignoreTargetSpecific(); in setTripleTypeForMachOArchName()
116 while (SourceAction->getKind() != Action::InputClass) { in ConstructJob()
[all …]
/freebsd/crypto/openssh/
H A DChangeLog17 upstream: openssh-9.7
19 OpenBSD-Commit-ID: 618ececf58b8cdae016b149787af06240f7b0cbc
46 OpenBSD-Commit-ID: e58f18042b86425405ca09e6e9d7dfa1df9f5f7f
52 upstream: skip more whitespace, fixes find-principals on
56 OpenBSD-Commit-ID: b3a22a2afd753d70766f34bc7f309c03706b5298
67 OpenBSD-Regress-ID: f68d79e7f00caa8d216ebe00ee5f0adbb944062a
73 Prefer openssl binary from --with-ssl-dir directory.
75 Use openssl in the directory specified by --with-ssl-dir as long
86 OpenBSD-Commit-ID: 97d96a166b1ad4b8d229864a553e3e56d3116860
92 upstream: wrap a few PKCS#11-specific bits in ENABLE_PKCS11
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1 //===- OpenMPIRBuilder.cpp - Builder for LLVM-IR for OpenMP directives ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
62 #define DEBUG_TYPE "openmp-ir-builder"
68 OptimisticAttributes("openmp-ir-builder-optimistic-attributes", cl::Hidden,
70 "'as-if' properties of runtime calls."),
74 "openmp-ir-builder-unroll-threshold-factor", cl::Hidden,
81 /// at position IP1 may change the meaning of IP2 or vice-versa. This is because
154 Kernel->getFnAttribute("target-features").getValueAsString(); in getGridValue()
[all …]

12