From nobody Mon Nov 01 14:49:19 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A8142183A305; Mon, 1 Nov 2021 14:49:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjbXH3sq2z4cXn; Mon, 1 Nov 2021 14:49:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 632E21343E; Mon, 1 Nov 2021 14:49:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1EnJ4A035535; Mon, 1 Nov 2021 14:49:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1EnJGv035534; Mon, 1 Nov 2021 14:49:19 GMT (envelope-from git) Date: Mon, 1 Nov 2021 14:49:19 GMT Message-Id: <202111011449.1A1EnJGv035534@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 0ab89d72aab7 - main - src.conf.5: regen for WITH_ASAN and WITH_UBSAN descriptions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ab89d72aab7a6904b6990cb21e0a86afb58342f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=0ab89d72aab7a6904b6990cb21e0a86afb58342f commit 0ab89d72aab7a6904b6990cb21e0a86afb58342f Author: Ed Maste AuthorDate: 2021-11-01 13:27:49 +0000 Commit: Ed Maste CommitDate: 2021-11-01 14:48:56 +0000 src.conf.5: regen for WITH_ASAN and WITH_UBSAN descriptions --- share/man/man5/src.conf.5 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 9ba27d393410..61629e32f225 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -106,6 +106,19 @@ Do not build .Xr apm 8 , .Xr apmd 8 and related programs. +.It Va WITH_ASAN +Build the base system with Address Sanitizer (ASan) to detect +memory corruption bugs such as buffer overflows or use-after-free. +Requires that Clang be used as the base system compiler +and that the runtime support library is available. +When set, it enforces these options: +.Pp +.Bl -item -compact +.It +.Va WITH_LLVM_BINUTILS +.It +.Va WITH_LLVM_CXXFILT +.El .It Va WITHOUT_ASSERT_DEBUG Compile programs and libraries without the .Xr assert 3 @@ -1645,6 +1658,11 @@ When set, it enforces these options: .It .Va WITHOUT_LLVM_COV .El +.It Va WITH_UBSAN +Build the base system with Undefined Behavior Sanitizer (UBSan) to detect +various kinds of undefined behavior at runtime. +Requires that Clang be used as the base system compiler +and that the runtime support library is available .It Va WITHOUT_UNBOUND Do not build .Xr unbound 8