1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[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 bf534d3173
commit 0de770ebf6

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;