[clang] [compiler-rt] [ASan] Document define to disable container overflow checks at compile time. (PR #163468)
Louis Dionne via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 21 09:17:43 PDT 2025
================
@@ -242,6 +255,43 @@ AddressSanitizer also supports
works similar to ``__attribute__((no_sanitize("address")))``, but it also
prevents instrumentation performed by other sanitizers.
+Disabling container overflow checks
+-----------------------------------
+
+Runtime suppression
+^^^^^^^^^^^^^^^^^^^
+
+Container overflow checks can be disabled at runtime using
+``ASAN_OPTIONS=detect_container_overflow=0``
----------------
ldionne wrote:
```suggestion
Container overflow checks can be disabled at runtime using the
``ASAN_OPTIONS=detect_container_overflow=0`` environment variable.
```
Assuming that's an environment variable?
https://github.com/llvm/llvm-project/pull/163468
More information about the cfe-commits
mailing list