Lines Matching refs:shadow_
108 uptr shadow_; member in __cfi::ShadowBuilder
126 shadow_ = (uptr)MmapNoReserveOrDie(GetShadowSize(), "CFI shadow"); in Start()
127 VReport(1, "CFI: shadow at %zx .. %zx\n", shadow_, shadow_ + GetShadowSize()); in Start()
131 uint16_t *shadow_begin = MemToShadow(begin, shadow_); in AddUnchecked()
132 uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1; in AddUnchecked()
144 uint16_t *s = MemToShadow(begin, shadow_); in Add()
145 uint16_t *s_end = MemToShadow(end - 1, shadow_) + 1; in Add()
153 MprotectReadOnly(shadow_, GetShadowSize()); in Install()
157 void *res = mremap((void *)shadow_, GetShadowSize(), GetShadowSize(), in Install()
164 cfi_shadow_limits_storage.limits.start = shadow_; in Install()
167 CHECK_EQ(shadow_, GetShadow()); in Install()