[clang] [BoundsSafety] Initial documentation for -fbounds-safety (PR #70749)

Dan Liew via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 3 14:47:30 PDT 2023


================
@@ -0,0 +1,480 @@
+==============================================
+-fbounds-safety: Enforcing bounds safety for C
+==============================================
+
+.. contents::
+   :local:
+
+Overview
+========
+
+-fbounds-safety is a C extension to enforce bounds safety to prevent out-of-bounds (OOB) memory accesses, which remain a major source of security vulnerabilities in C. -fbounds-safety aims to eliminate this class of bugs by turning OOB accesses into deterministic traps.
----------------
delcypher wrote:

Should `-fbounds-safety` be quoted to be monospaced?

https://github.com/llvm/llvm-project/pull/70749


More information about the cfe-commits mailing list