From 065ef8f7832e8722ea07213faa5efc2f4d70aa8d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 1 Nov 2021 09:03:14 -0400 Subject: [PATCH] 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(+) create mode 100644 tools/build/options/WITH_ASAN create mode 100644 tools/build/options/WITH_UBSAN diff --git a/tools/build/options/WITH_ASAN b/tools/build/options/WITH_ASAN new file mode 100644 index 00000000000..2955434fd16 --- /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 00000000000..a27f72c713d --- /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