[PATCH] Documentation for sanitizer special case list

Alexey Samsonov samsonov at google.com
Fri Aug 2 05:42:30 PDT 2013

Comment at: docs/AddressSanitizer.rst:129
@@ -128,1 +128,3 @@
Evgeniy Stepanov wrote:
> 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):
Evgeniy Stepanov wrote:
> You forgot the most important part about search-vs-match behaviour of source file paths.
Expanded a comment a bit. I think it should be pretty clear now.

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.
Evgeniy Stepanov wrote:
> Mention default locations of the blacklists?
Not sure we should do it now - the default blacklists are empty...


More information about the cfe-commits mailing list