Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_cfi.cpp47 char* tmp_start; member in ShadowWrite
55 tmp_start = in ShadowWrite()
58 CHECK(tmp_start != MAP_FAILED); 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()
73 mprotect(tmp_start, size, PROT_READ); in ~ShadowWrite()
74 void* res = mremap(tmp_start, size, size, MREMAP_MAYMOVE | MREMAP_FIXED, in ~ShadowWrite()