]> granicus.if.org Git - llvm/commitdiff
[libFuzzer] properly hide the memcmp interceptor from msan
authorKostya Serebryany <kcc@google.com>
Fri, 3 Feb 2017 22:51:38 +0000 (22:51 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 3 Feb 2017 22:51:38 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294061 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/FuzzerTracePC.cpp

index d841a285f1ca0f7ab255985e463b34c1bc1b37bc..ff1d494bafeeb2e5f5595d1a9a527acde5deda4e 100644 (file)
@@ -240,7 +240,7 @@ void TracePC::DumpCoverage() {
 // For cmp instructions the interesting value is a XOR of the parameters.
 // The interesting value is mixed up with the PC and is then added to the map.
 
-ATTRIBUTE_NO_SANITIZE_ADDRESS
+ATTRIBUTE_NO_SANITIZE_ALL
 void TracePC::AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2,
                                 size_t n, bool StopAtZero) {
   if (!n) return;