aboutsummaryrefslogtreecommitdiffstats
path: root/docs/MemorySanitizer.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/MemorySanitizer.rst')
-rw-r--r--docs/MemorySanitizer.rst7
1 files changed, 7 insertions, 0 deletions
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
======================