From nobody Mon Nov 01 14:49:18 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 6A370183A1A7; Mon, 1 Nov 2021 14:49:18 +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 4HjbXG2QqQz4cR0; Mon, 1 Nov 2021 14:49:18 +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 33BA31389C; Mon, 1 Nov 2021 14:49:18 +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 1A1EnIPp035504; Mon, 1 Nov 2021 14:49:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1EnID1035503; Mon, 1 Nov 2021 14:49:18 GMT (envelope-from git) Date: Mon, 1 Nov 2021 14:49:18 GMT Message-Id: <202111011449.1A1EnID1035503@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: 065ef8f7832e - main - Add descriptions for WITH_ASAN and WITH_UBSAN 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: 065ef8f7832e8722ea07213faa5efc2f4d70aa8d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=065ef8f7832e8722ea07213faa5efc2f4d70aa8d commit 065ef8f7832e8722ea07213faa5efc2f4d70aa8d Author: Ed Maste AuthorDate: 2021-11-01 13:03:14 +0000 Commit: Ed Maste 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