Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:ubsan (Results 1 – 25 of 27) 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-vm.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/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/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/contrib/expat/
H A DChanges14 !! - teaming up on researching and fixing future security reports and !!
15 !! ClusterFuzz findings with few-days-max response times in communication !!
18 !! - helping CPython Expat bindings with supporting Expat's billion laughs !!
20 !! - XML_SetBillionLaughsAttackProtectionActivationThreshold !!
21 !! - XML_SetBillionLaughsAttackProtectionMaximumAmplification !!
22 !! - helping Perl's XML::Parser Expat bindings with supporting Expat's !!
23 !! security API (https://github.com/cpan-authors/XML-Parser/issues/102): !!
24 !! - XML_SetBillionLaughsAttackProtectionActivationThreshold !!
25 !! - XML_SetBillionLaughsAttackProtectionMaximumAmplification !!
26 !! - XML_SetReparseDeferralEnabled !!
[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 2024-11-27 14:44 Christos Zoulas <christos@zoulas.com>
6 2024-11-25 13:56 Christos Zoulas <christos@zoulas.com>
10 2024-11-10 13:56 Christos Zoulas <christos@zoulas.com>
14 offset that the "use" starts so that we don't double-count it.
17 2024-11-09 19:30 Christos Zoulas <christos@zoulas.com>
21 2024-11-02 14:34 Christos Zoulas <christos@zoulas.com>
25 2023-12-29 12:55 Christos Zoulas <christos@zoulas.com>
29 2023-07-29 12:55 Christos Zoulas <christos@zoulas.com>
33 2023-07-27 15:45 Christos Zoulas <christos@zoulas.com>
37 2023-07-17 11:53 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/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/sys/contrib/dev/acpica/
H A Dchanges.txt1 ----------------------------------------
6 Fix 2 critical CVE addressing memory leaks - Seunghun Han
17 ----------------------------------------
30 ----------------------------------------
35 …that the PHAT firmware health record offset works correctly, fix various sub-table offsets, preven…
37 Fix the optional table 4-byte signature. Contributed by: Daniil Tatianin <99danilt@gmail.com>
56 ----------------------------------------
71 Add new tables for various architectures/OS, mainly RISC-V and also update many more.
73 Add an option to either make the output deterministic or non-deterministic.
80 ----------------------------------------
[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 …]
/freebsd/contrib/sqlite3/
H A Dshell.c5 ** "shell.c" file used to implement the SQLite command-line shell.
13 ** source file to help make the command-line program easier to compile.
41 ** Optionally #include a user-defined header, whereby compilation options
64 ** the browser-mode build has much different user input requirements
98 ** Enable large-file support for fopen() and friends on unix.
233 /* Windows CE (arm-wince-mingw32ce-gcc) does not provide isatty()
235 * overridden with the -batch command line option.
281 ** by the SQLite project command-line tools. These interfaces are used
284 ** "single-source" forms or separate compilation then linking.
324 ** Returns the bit-wise OR of SAC_{In,Out,Err}Console values,
[all …]

12