From: Kostya Serebryany Date: Fri, 3 Feb 2017 22:51:38 +0000 (+0000) Subject: [libFuzzer] properly hide the memcmp interceptor from msan X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66d69563f7a4bc7a5103dc283dbd87d90dd6c0e7;p=llvm [libFuzzer] properly hide the memcmp interceptor from msan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294061 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/FuzzerTracePC.cpp b/lib/Fuzzer/FuzzerTracePC.cpp index d841a285f1c..ff1d494bafe 100644 --- a/lib/Fuzzer/FuzzerTracePC.cpp +++ b/lib/Fuzzer/FuzzerTracePC.cpp @@ -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;