aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/AddressSanitizer.rst6
-rw-r--r--docs/MemorySanitizer.rst7
-rw-r--r--docs/ReleaseNotes.rst3
3 files changed, 15 insertions, 1 deletions
diff --git a/docs/AddressSanitizer.rst b/docs/AddressSanitizer.rst
index 7549159a39ab..3404b669e248 100644
--- a/docs/AddressSanitizer.rst
+++ b/docs/AddressSanitizer.rst
@@ -144,6 +144,12 @@ For more information on leak detector in AddressSanitizer, see
and can be enabled using ``ASAN_OPTIONS=detect_leaks=1`` on OS X;
however, it is not yet supported on other platforms.
+Writable/Executable paging detection
+------------------------------------
+
+The W^X detection is disabled by default and can be enabled using
+``ASAN_OPTIONS=detect_write_exec=1``.
+
Issue Suppression
=================
diff --git a/docs/MemorySanitizer.rst b/docs/MemorySanitizer.rst
index 4e033fa1941d..e979186be1ac 100644
--- a/docs/MemorySanitizer.rst
+++ b/docs/MemorySanitizer.rst
@@ -165,6 +165,13 @@ to:
#. Set environment variable `MSAN_OPTIONS=poison_in_dtor=1` before running
the program.
+Writable/Executable paging detection
+====================================
+
+You can eable writable-executable page detection in MemorySanitizer by
+setting the environment variable `MSAN_OPTIONS=detect_write_exec=1` before
+running the program.
+
Handling external code
======================
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 01702023c540..5f446d85dc8c 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -284,7 +284,8 @@ libclang
Static Analyzer
---------------
-- ...
+- The new `MmapWriteExec` checker had been introduced to detect attempts to map pages
+both writable and executable.
...