Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 14:49:19 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0ab89d72aab7 - main - src.conf.5: regen for WITH_ASAN and WITH_UBSAN descriptions
Message-ID:  <202111011449.1A1EnJGv035534@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ab89d72aab7a6904b6990cb21e0a86afb58342f

commit 0ab89d72aab7a6904b6990cb21e0a86afb58342f
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-11-01 13:27:49 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111011449.1A1EnJGv035534>