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:
parent
bf534d3173
commit
0de770ebf6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user