Lines Matching full:origin
49 // Copy left unaligned origin if that memory is poisoned. in CopyOrigin()
63 // Copy right unaligned origin if that memory is poisoned. in CopyOrigin()
106 // Copy right unaligned origin if that memory is poisoned. in ReverseCopyOrigin()
143 // Copy left unaligned origin if that memory is poisoned. in ReverseCopyOrigin()
156 // If destination origin range overlaps with source origin range, move in MoveOrigin()
184 // Because origin's range is slightly larger than app range, memcpy may also in CopyShadowAndOrigin()
185 // cause overlapped origin ranges. in CopyShadowAndOrigin()
221 // No need to set origin for zero shadow, but we can release pages. in SetShadow()
230 void SetOrigin(const void *dst, uptr size, u32 origin) { in SetOrigin() argument
231 // Origin mapping is 4 bytes per 4 bytes of application memory. in SetOrigin()
237 u64 origin64 = ((u64)origin << 32) | origin; in SetOrigin()
241 *(u32 *)beg = origin; in SetOrigin()
245 if (end & 7ULL) *(u32 *)(end - 4) = origin; in SetOrigin()
255 Origin o = Origin::CreateHeapOrigin(stack); in PoisonMemory()