From 3e71b22e51c076bb8adebcaa84723aca6bb22e1d Mon Sep 17 00:00:00 2001 From: jca Date: Fri, 18 Feb 2022 00:39:18 +0000 Subject: [PATCH] Hint: people who want to use ubsan can use the ubsan_minimal runtime Input & ok gnezdo@ --- share/man/man1/clang-local.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/share/man/man1/clang-local.1 b/share/man/man1/clang-local.1 index 8a03b4ed16e..9e02e6972a1 100644 --- a/share/man/man1/clang-local.1 +++ b/share/man/man1/clang-local.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clang-local.1,v 1.22 2021/09/07 17:39:49 semarie Exp $ +.\" $OpenBSD: clang-local.1,v 1.23 2022/02/18 00:39:18 jca Exp $ .\" .\" Copyright (c) 2016 Pascal Stumpf .\" @@ -15,7 +15,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .\" -.Dd $Mdocdate: September 7 2021 $ +.Dd $Mdocdate: February 18 2022 $ .Dt CLANG-LOCAL 1 .Os .Sh NAME @@ -93,6 +93,12 @@ option to treat signed integer overflows as defined is enabled by default to prevent dangerous optimizations which could remove security critical overflow checks. .It +The base system includes the ubsan_minimal sanitizer runtime +but not the fully-featured ubsan runtime. +See the documentation for the +.Fl fsanitize-minimal-runtime +flag. +.It The .Xr malloc 3 , .Xr calloc 3 , -- 2.20.1