Home
last modified time | relevance | path

Searched refs:mem_to_shadow (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/test/msan/
Dstrlen_of_shadow.cc13 const char *mem_to_shadow(const char *p) { in mem_to_shadow() function
30 assert(strlen(mem_to_shadow(s)) == 0); in main()
34 assert(strlen(mem_to_shadow(t)) == 41); in main()
/external/compiler-rt/lib/cfi/
Dcfi.cc41 static uint16_t *mem_to_shadow(uptr x) { in mem_to_shadow() function
66 return ShadowValue(addr, *mem_to_shadow(addr)); in load()
72 uint16_t *shadow_begin = mem_to_shadow(begin); in fill_shadow_constant()
73 uint16_t *shadow_end = mem_to_shadow(end - 1) + 1; in fill_shadow_constant()
84 uint16_t *s = mem_to_shadow(p); in fill_shadow()
85 uint16_t *s_end = mem_to_shadow(end - 1) + 1; in fill_shadow()