Home
last modified time | relevance | path

Searched refs:ShadowBase (Results 1 – 2 of 2) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp668 Value *ShadowBase, bool DoPoison);
671 void SetShadowToStackAfterReturnInlined(IRBuilder<> &IRB, Value *ShadowBase,
1550 IRBuilder<> &IRB, Value *ShadowBase, in poisonRedZones() argument
1568 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in poisonRedZones()
1593 IRBuilder<> &IRB, Value *ShadowBase, int Size) { in SetShadowToStackAfterReturnInlined() argument
1597 Value *p = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in SetShadowToStackAfterReturnInlined()
1769 Value *ShadowBase = ASan.memToShadow(LocalStackBase, IRB); in poisonStack() local
1770 poisonRedZones(L.ShadowBytes, IRB, ShadowBase, true); in poisonStack()
1798 SetShadowToStackAfterReturnInlined(IRBPoison, ShadowBase, in poisonStack()
1815 poisonRedZones(L.ShadowBytes, IRBElse, ShadowBase, false); in poisonStack()
[all …]
H A DMemorySanitizer.cpp202 uint64_t ShadowBase; member
807 uint64_t ShadowBase = MS.MapParams->ShadowBase; in getShadowPtr() local
808 if (ShadowBase != 0) in getShadowPtr()
811 ConstantInt::get(MS.IntptrTy, ShadowBase)); in getShadowPtr()
2469 Value *ShadowBase = getShadowPtr(&I, Type::getInt8PtrTy(*MS.C), IRB); in visitAllocaInst() local
2471 IRB.CreateMemSet(ShadowBase, PoisonValue, Size, I.getAlignment()); in visitAllocaInst()