[libFuzzer] disable msan for one more hook that reads target's data that might be uninitialized

llvm-svn: 289680
This commit is contained in:
Kostya Serebryany 2016-12-14 18:13:02 +00:00
parent 2428a4050f
commit d9d9a54511

View File

@ -218,6 +218,9 @@ void TracePC::AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2,
TPC.HandleValueProfile((PC & 4095) | (Idx << 12));
}
#ifdef __clang__ // avoid gcc warning.
__attribute__((no_sanitize("memory")))
#endif
void TracePC::AddValueForStrcmp(void *caller_pc, const char *s1, const char *s2,
size_t n) {
if (!n) return;