Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_cfi.cpp45 char* aligned_start; member in ShadowWrite
53 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 memcpy(tmp_start, aligned_start, shadow_start - aligned_start); in ShadowWrite()
60 memcpy(tmp_start + (shadow_end - aligned_start), shadow_end, aligned_end - shadow_end); in ShadowWrite()
64 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); in begin()
68 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_end - aligned_start)); in end()
72 size_t size = aligned_end - aligned_start; in ~ShadowWrite()
75 reinterpret_cast<void*>(aligned_start)); in ~ShadowWrite()