Home
last modified time | relevance | path

Searched refs:MEM_TO_ORIGIN (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/msan/
Dmsan_poisoning.cc54 *(u32 *)MEM_TO_ORIGIN(beg) = o; in CopyOrigin()
68 *(u32 *)MEM_TO_ORIGIN(end) = o; in CopyOrigin()
77 u32 *src = (u32 *)MEM_TO_ORIGIN(s); in CopyOrigin()
79 u32 *src_end = (u32 *)MEM_TO_ORIGIN(s + (end - beg)); in CopyOrigin()
80 u32 *dst = (u32 *)MEM_TO_ORIGIN(beg); in CopyOrigin()
92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s), in CopyOrigin()
151 uptr x = MEM_TO_ORIGIN((uptr)dst); in SetOrigin()
Dmsan_linux.cc90 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
91 CHECK_EQ(MEM_TO_ORIGIN(addr), SHADOW_TO_ORIGIN(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
95 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
96 CHECK_EQ(MEM_TO_ORIGIN(addr), SHADOW_TO_ORIGIN(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
100 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
101 CHECK_EQ(MEM_TO_ORIGIN(addr), SHADOW_TO_ORIGIN(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
Dmsan.cc341 *(u32 *)MEM_TO_ORIGIN((uptr)p & ~3UL) = o; \
567 uptr origin_ptr = MEM_TO_ORIGIN(aligned); in __msan_get_origin()
Dmsan_allocator.cc38 FlushUnneededShadowMemory(MEM_TO_ORIGIN(p), size); in OnUnmap()
Dmsan.h193 #define MEM_TO_ORIGIN(mem) (SHADOW_TO_ORIGIN(MEM_TO_SHADOW((mem)))) macro