Lines Matching refs:shadow_start
43 char* shadow_start; member in ShadowWrite
51 shadow_start = reinterpret_cast<char*>(s); in ShadowWrite()
53 aligned_start = reinterpret_cast<char*>(PAGE_START(reinterpret_cast<uintptr_t>(shadow_start))); in ShadowWrite()
60 memcpy(tmp_start, aligned_start, shadow_start - aligned_start); in ShadowWrite()
65 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); in begin()
82 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, *shadow_start, kShadowSize, "cfi shadow"); in FixupVmaName()
164 CHECK(shadow_start != nullptr); in AddLibrary()
205 shadow_start = reinterpret_cast<uintptr_t* (*)(uintptr_t)>(cfi_init)(p); in NotifyLibDl()
206 CHECK(shadow_start != nullptr); in NotifyLibDl()
207 CHECK(*shadow_start == p); in NotifyLibDl()
208 mprotect(shadow_start, PAGE_SIZE, PROT_READ); in NotifyLibDl()
214 CHECK(shadow_start == nullptr); in MaybeInit()
253 if (shadow_start == nullptr) { in AfterLoad()
265 if (shadow_start == nullptr) return; in BeforeUnload()