Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp448 Value *ShadowBase = nullptr; member in __anon1b7bdbef0111::HWAddressSanitizer
826 if (ShadowBase == I) in getInterestingMemoryOperands()
899 return IRB.CreatePtrAdd(ShadowBase, Shadow); in memToShadow()
980 {ShadowBase, Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessOutline()
1305 ShadowBase = getShadowNonTls(IRB); in emitPrologue()
1307 ShadowBase = getDynamicShadowIfunc(IRB); in emitPrologue()
1309 if (!WithFrameRecord && ShadowBase) in emitPrologue()
1385 if (!ShadowBase) { in emitPrologue()
1392 ShadowBase = IRB.CreateAdd( in emitPrologue()
1397 ShadowBase = IRB.CreateIntToPtr(ShadowBase, PtrTy); in emitPrologue()
[all …]
H A DAddressSanitizer.cpp607 bool IsKasan, uint64_t *ShadowBase, in getAddressSanitizerParams() argument
610 *ShadowBase = Mapping.Offset; in getAddressSanitizerParams()
1216 IRBuilder<> &IRB, Value *ShadowBase);
1219 Value *ShadowBase);
1222 size_t End, IRBuilder<> &IRB, Value *ShadowBase);
1319 Value *ShadowBase; in memToShadow() local
1321 ShadowBase = LocalDynamicShadow; in memToShadow()
1323 ShadowBase = ConstantInt::get(IntptrTy, Mapping.Offset); in memToShadow()
1325 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow()
1327 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
[all …]
H A DMemorySanitizer.cpp386 uint64_t ShadowBase; member
980 CustomMapParams.ShadowBase = ClShadowBase; in initializeModule()
1741 if (uint64_t ShadowBase = MS.MapParams->ShadowBase) { in getShadowOriginPtrUserspace() local
1743 IRB.CreateAdd(ShadowLong, constToIntPtr(IntptrTy, ShadowBase)); in getShadowOriginPtrUserspace()
4629 Value *ShadowBase, *OriginBase; in poisonAllocaUserspace() local
4630 std::tie(ShadowBase, OriginBase) = getShadowOriginPtr( in poisonAllocaUserspace()
4634 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, I.getAlign()); in poisonAllocaUserspace()
4978 void CleanUnusedTLS(IRBuilder<> &IRB, Value *ShadowBase, in CleanUnusedTLS()
4987 IRB.CreateMemSet(ShadowBase, ConstantInt::getNullValue(IRB.getInt8Ty()), in CleanUnusedTLS()
5088 Value *ShadowBase = in visitCallBase() local
[all …]
H A DDataFlowSanitizer.cpp284 uint64_t ShadowBase; member
1925 uint64_t ShadowBase = MapParams->ShadowBase; in getShadowOriginAddress() local
1926 if (ShadowBase != 0) { in getShadowOriginAddress()
1928 IRB.CreateAdd(ShadowLong, ConstantInt::get(IntptrTy, ShadowBase)); in getShadowOriginAddress()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h58 bool IsKasan, uint64_t *ShadowBase,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp957 uint64_t ShadowBase; in LowerASAN_CHECK_MEMACCESS() local
961 AccessInfo.CompileKernel, &ShadowBase, in LowerASAN_CHECK_MEMACCESS()