forked from OSchip/llvm-project
parent
c62210e3ff
commit
5f487de8a3
|
@ -349,7 +349,7 @@ INTERCEPTOR(int, strcmp, const char *s1, const char *s2) {
|
|||
|
||||
INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT
|
||||
#if MAC_INTERPOSE_FUNCTIONS
|
||||
if (!asan_inited) return REAL(strcpy)(to, from);
|
||||
if (!asan_inited) return REAL(strcpy)(to, from); // NOLINT
|
||||
#endif
|
||||
// strcpy is called from malloc_default_purgeable_zone()
|
||||
// in __asan::ReplaceSystemAlloc() on Mac.
|
||||
|
|
Loading…
Reference in New Issue