Searched refs:aligned_start (Results 1 – 1 of 1) sorted by relevance
45 char* aligned_start; member in ShadowWrite53 aligned_start = reinterpret_cast<char*>(PAGE_START(reinterpret_cast<uintptr_t>(shadow_start))); in ShadowWrite()56 reinterpret_cast<char*>(mmap(nullptr, aligned_end - aligned_start, PROT_READ | PROT_WRITE, in ShadowWrite()59 mprotect(aligned_start, aligned_end - aligned_start, PROT_READ); in ShadowWrite()60 memcpy(tmp_start, aligned_start, shadow_start - aligned_start); in ShadowWrite()61 memcpy(tmp_start + (shadow_end - aligned_start), shadow_end, aligned_end - shadow_end); in ShadowWrite()65 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); in begin()69 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_end - aligned_start)); in end()73 size_t size = aligned_end - aligned_start; in ~ShadowWrite()76 reinterpret_cast<void*>(aligned_start)); in ~ShadowWrite()