[PATCH] Documentation for sanitizer special case list

Evgeniy Stepanov eugenis at google.com
Fri Aug 2 05:06:25 PDT 2013



================
Comment at: docs/AddressSanitizer.rst:129
@@ -128,1 +128,3 @@
 
+Blacklist
+---------
----------------
Please add something to other sanitizer's pages, too.

Some bits of data on MSan:
// Tell MemorySanitizer to relax the handling of a given function. All "Use of                                         
// uninitialized value" warnings from such functions will be suppressed, and all                                       
// values loaded from memory will be considered fully initialized.


================
Comment at: docs/SanitizerSpecialCaseList.rst:35
@@ +34,3 @@
+    # Turn off checks for the source file:
+    src:/path/to/source/file.c
+    # Turn off checks for a particular functions (use mangled names):
----------------
You forgot the most important part about search-vs-match behaviour of source file paths.

================
Comment at: docs/SanitizerSpecialCaseList.rst:48
@@ +47,3 @@
+
+Create a file and provide it to the compiler using ``-fsanitize-blacklist`` flag.
+See :doc:`UsersManual` for details.
----------------
Mention default locations of the blacklists?


http://llvm-reviews.chandlerc.com/D1268



More information about the cfe-commits mailing list