/bionic/linker/ |
linker_cfi.cpp | 43 char* shadow_start; member in class:ShadowWrite 51 shadow_start = reinterpret_cast<char*>(s); 53 aligned_start = reinterpret_cast<char*>(PAGE_START(reinterpret_cast<uintptr_t>(shadow_start))); 59 memcpy(tmp_start, aligned_start, shadow_start - aligned_start); 64 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); 81 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, *shadow_start, kShadowSize, "cfi shadow"); 164 CHECK(shadow_start != nullptr); 205 shadow_start = reinterpret_cast<uintptr_t* (*)(uintptr_t)>(cfi_init)(p); 206 CHECK(shadow_start != nullptr); 207 CHECK(*shadow_start == p) [all...] |
linker_cfi.h | 48 return reinterpret_cast<uint16_t*>(*shadow_start + MemToShadowOffset(x)); 78 // Flips shadow_start to a non-nullptr value. 82 uintptr_t *shadow_start; member in class:CFIShadowWriter
|
/external/compiler-rt/lib/asan/ |
asan_rtl.cc | 456 uptr shadow_start = kLowShadowBeg; local 458 shadow_start -= GetMmapGranularity(); 460 MemoryRangeIsAvailable(shadow_start, kHighShadowEnd); 483 ReserveShadowMemoryRange(shadow_start, kLowShadowEnd, "low shadow"); 490 MemoryRangeIsAvailable(shadow_start, kMidMemBeg - 1) && 494 ReserveShadowMemoryRange(shadow_start, kLowShadowEnd, "low shadow"); 507 shadow_start, kHighShadowEnd);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_linux.cc | 189 char *shadow_start = (char*)MemToShadow(start); local 191 for (char *p = shadow_start; p < shadow_end; p += marker.size()) {
|