summaryrefslogtreecommitdiffstats
path: root/docs/AddressSanitizer.rst
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-08-02 17:51:48 +0000
committerVitaly Buka <vitalybuka@google.com>2016-08-02 17:51:48 +0000
commit78162766a5b230f16a0953f9c91671dfaaa4565d (patch)
tree34d502706b611350f84e603b7c6de96c501d0b22 /docs/AddressSanitizer.rst
parentb0191e8f72093ad170dc1b081f458caf350fcfe1 (diff)
Updated documentation
Reviewers: kcc, eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D22992 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/AddressSanitizer.rst')
-rw-r--r--docs/AddressSanitizer.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/AddressSanitizer.rst b/docs/AddressSanitizer.rst
index a42a1ff623..f64f60d0d4 100644
--- a/docs/AddressSanitizer.rst
+++ b/docs/AddressSanitizer.rst
@@ -14,7 +14,8 @@ following types of bugs:
* Out-of-bounds accesses to heap, stack and globals
* Use-after-free
-* Use-after-return (to some extent)
+* Use-after-return (runtime flag `ASAN_OPTIONS=detect_stack_use_after_return=1`)
+* Use-after-scope (clang flag `-fsanitize-address-use-after-scope`)
* Double-free, invalid free
* Memory leaks (experimental)