Lines Matching refs:shadow_mem
325 u64 *shadow_mem = (u64*)MemToShadow(addr);
339 if (!IsShadowMem((uptr)shadow_mem)) {
340 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr);
341 DCHECK(IsShadowMem((uptr)shadow_mem));
343 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) {
345 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1);
346 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1)));
352 if (*shadow_mem == kShadowRodata) {
376 shadow_mem, cur);
379 shadow_mem += kShadowCnt;
387 shadow_mem, cur);
388 shadow_mem += kShadowCnt;
397 shadow_mem, cur);