Lines Matching full:shadow
245 MmapFixedNoReserve(MemToShadow(addr), size * kShadowMultiplier, "shadow");
247 // Meta shadow is 2:1, so tread carefully.
257 MmapFixedNoReserve(meta_begin, meta_end - meta_begin, "meta shadow");
267 MmapFixedNoReserve(meta_begin, meta_end - meta_begin, "meta shadow");
270 VPrintf(2, "mapped meta shadow for (%p-%p) at (%p-%p)\n",
290 VPrintf(3, "checking shadow region %p-%p\n", beg, end);
298 VPrintf(3, " checking pointer %p: shadow=%p meta=%p\n", p, s, m);
538 Shadow LoadShadow(u64 *p) {
540 return Shadow(raw);
556 Shadow cur, Shadow old) {
567 static inline bool HappensBefore(Shadow old, ThreadState *thr) {
574 u64 *shadow_mem, Shadow cur) {
585 // scan all the shadow values and dispatch to 4 categories:
593 Shadow old(0);
651 Shadow cur(a);
653 Shadow old(LoadShadow(&s[i]));
654 if (Shadow::Addr0AndSizeAreEqual(cur, old) &&
679 // load 4 shadow slots
682 // load high parts of 4 shadow slots into addr_vect:
703 // load low parts of shadow cell epochs into epoch_vect:
726 // NOTE: this check can fail if the shadow is concurrently mutated
752 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr);
776 Shadow cur(fast_state);
805 u64 *shadow_mem, Shadow cur) {
839 // Don't want to touch lots of shadow memory.
885 // Processing more than 1k (4k of shadow) is expensive,
898 Shadow s(thr->fast_state);
911 Shadow s(thr->fast_state);
927 // Shadow stack maintenance can be replaced with