[llvm-branch-commits] [cfe-branch] r338993 - Release notes for write exec detection features

David Carlier via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 6 01:05:11 PDT 2018


Author: devnexen
Date: Mon Aug  6 01:05:11 2018
New Revision: 338993

URL: http://llvm.org/viewvc/llvm-project?rev=338993&view=rev
Log:
Release notes for write exec detection features

Modified:
    cfe/branches/release_70/docs/AddressSanitizer.rst
    cfe/branches/release_70/docs/MemorySanitizer.rst
    cfe/branches/release_70/docs/ReleaseNotes.rst

Modified: cfe/branches/release_70/docs/AddressSanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/AddressSanitizer.rst?rev=338993&r1=338992&r2=338993&view=diff
==============================================================================
--- cfe/branches/release_70/docs/AddressSanitizer.rst (original)
+++ cfe/branches/release_70/docs/AddressSanitizer.rst Mon Aug  6 01:05:11 2018
@@ -144,6 +144,12 @@ For more information on leak detector in
 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
 =================
 

Modified: cfe/branches/release_70/docs/MemorySanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/MemorySanitizer.rst?rev=338993&r1=338992&r2=338993&view=diff
==============================================================================
--- cfe/branches/release_70/docs/MemorySanitizer.rst (original)
+++ cfe/branches/release_70/docs/MemorySanitizer.rst Mon Aug  6 01:05:11 2018
@@ -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
 ======================
 

Modified: cfe/branches/release_70/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/ReleaseNotes.rst?rev=338993&r1=338992&r2=338993&view=diff
==============================================================================
--- cfe/branches/release_70/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_70/docs/ReleaseNotes.rst Mon Aug  6 01:05:11 2018
@@ -284,7 +284,8 @@ libclang
 Static Analyzer
 ---------------
 
-- ...
+- The new `MmapWriteExec` checker had been introduced to detect attempts to map pages
+both writable and executable.
 
 ...
 




More information about the llvm-branch-commits mailing list