Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 14:49:18 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: 065ef8f7832e - main - Add descriptions for WITH_ASAN and WITH_UBSAN
Message-ID:  <202111011449.1A1EnID1035503@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=065ef8f7832e8722ea07213faa5efc2f4d70aa8d

commit 065ef8f7832e8722ea07213faa5efc2f4d70aa8d
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-11-01 13:03:14 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-11-01 14:48:56 +0000

    Add descriptions for WITH_ASAN and WITH_UBSAN
    
    Reviewed by:    jrtc27
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D32773
---
 tools/build/options/WITH_ASAN  | 4 ++++
 tools/build/options/WITH_UBSAN | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/tools/build/options/WITH_ASAN b/tools/build/options/WITH_ASAN
new file mode 100644
index 000000000000..2955434fd167
--- /dev/null
+++ b/tools/build/options/WITH_ASAN
@@ -0,0 +1,4 @@
+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.
diff --git a/tools/build/options/WITH_UBSAN b/tools/build/options/WITH_UBSAN
new file mode 100644
index 000000000000..a27f72c713d7
--- /dev/null
+++ b/tools/build/options/WITH_UBSAN
@@ -0,0 +1,4 @@
+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



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