Lines Matching refs:to
21 DECLARE_REAL(void*, memcpy, void *to, const void *from, uptr size)
79 // We do not treat memcpy with to==from as a bug.
81 #define ASAN_MEMCPY_IMPL(ctx, to, from, size) \
83 if (UNLIKELY(!asan_inited)) return internal_memcpy(to, from, size); \
85 return REAL(memcpy)(to, from, size); \
89 if (to != from) { \
90 CHECK_RANGES_OVERLAP("memcpy", to, size, from, size); \
93 ASAN_WRITE_RANGE(ctx, to, size); \
95 return REAL(memcpy)(to, from, size); \
112 #define ASAN_MEMMOVE_IMPL(ctx, to, from, size) \
114 if (UNLIKELY(!asan_inited)) return internal_memmove(to, from, size); \
118 ASAN_WRITE_RANGE(ctx, to, size); \
120 return internal_memmove(to, from, size); \
130 // Macro is used to avoid creation of new frames.