Index: lib/asan/asan_interceptors.cc =================================================================== --- lib/asan/asan_interceptors.cc +++ lib/asan/asan_interceptors.cc @@ -725,10 +725,12 @@ InitializeCommonInterceptors(); // Intercept mem* functions. - ASAN_INTERCEPT_FUNC(memmove); + ASAN_INTERCEPT_FUNC(memcpy); ASAN_INTERCEPT_FUNC(memset); if (PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE) { - ASAN_INTERCEPT_FUNC(memcpy); + // FIXME(wwchrome): REAL(memmove) may be nullptr, if the following line is + // skipped, due to memcpy and memmove having the same address. + ASAN_INTERCEPT_FUNC(memmove); } // Intercept str* functions.