[PATCH] D49906: [Docs] Sanitizer update
David CARLIER via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 27 01:08:50 PDT 2018
devnexen created this revision.
devnexen added a reviewer: eugenis.
devnexen created this object with visibility "All Users".
Herald added a subscriber: cfe-commits.
- Adding new option detect_write_exec=1 available.
Repository:
rC Clang
https://reviews.llvm.org/D49906
Files:
docs/AddressSanitizer.rst
docs/MemorySanitizer.rst
Index: docs/MemorySanitizer.rst
===================================================================
--- docs/MemorySanitizer.rst
+++ docs/MemorySanitizer.rst
@@ -165,6 +165,13 @@
#. 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
======================
Index: docs/AddressSanitizer.rst
===================================================================
--- docs/AddressSanitizer.rst
+++ docs/AddressSanitizer.rst
@@ -144,6 +144,12 @@
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
=================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49906.157653.patch
Type: text/x-patch
Size: 1105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180727/fa57af0c/attachment.bin>
More information about the cfe-commits
mailing list