[llvm] r294061 - [libFuzzer] properly hide the memcmp interceptor from msan

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 14:51:38 PST 2017

Author: kcc
Date: Fri Feb  3 16:51:38 2017
New Revision: 294061

URL: http://llvm.org/viewvc/llvm-project?rev=294061&view=rev
[libFuzzer] properly hide the memcmp interceptor from msan


Modified: llvm/trunk/lib/Fuzzer/FuzzerTracePC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerTracePC.cpp?rev=294061&r1=294060&r2=294061&view=diff
--- llvm/trunk/lib/Fuzzer/FuzzerTracePC.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerTracePC.cpp Fri Feb  3 16:51:38 2017
@@ -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.
 void TracePC::AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2,
                                 size_t n, bool StopAtZero) {
   if (!n) return;

More information about the llvm-commits mailing list