Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp407 Value *ShadowBase = nullptr; member in __anon159c36660111::HWAddressSanitizer
742 if (ShadowBase == I) in getInterestingMemoryOperands()
814 return IRB.CreateGEP(Int8Ty, ShadowBase, Shadow); in memToShadow()
839 {ShadowBase, Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessOutline()
1189 ShadowBase = getShadowNonTls(IRB); in emitPrologue()
1191 ShadowBase = getDynamicShadowIfunc(IRB); in emitPrologue()
1193 if (!WithFrameRecord && ShadowBase) in emitPrologue()
1253 if (!ShadowBase) { in emitPrologue()
1260 ShadowBase = IRB.CreateAdd( in emitPrologue()
1265 ShadowBase = IRB.CreateIntToPtr(ShadowBase, Int8PtrTy); in emitPrologue()
[all …]
H A DAddressSanitizer.cpp604 bool IsKasan, uint64_t *ShadowBase, in getAddressSanitizerParams() argument
607 *ShadowBase = Mapping.Offset; in getAddressSanitizerParams()
1114 IRBuilder<> &IRB, Value *ShadowBase);
1117 Value *ShadowBase);
1120 size_t End, IRBuilder<> &IRB, Value *ShadowBase);
1217 Value *ShadowBase; in memToShadow() local
1219 ShadowBase = LocalDynamicShadow; in memToShadow()
1221 ShadowBase = ConstantInt::get(IntptrTy, Mapping.Offset); in memToShadow()
1223 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow()
1225 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
[all …]
H A DMemorySanitizer.cpp378 uint64_t ShadowBase; member
936 CustomMapParams.ShadowBase = ClShadowBase; in initializeModule()
1660 if (uint64_t ShadowBase = MS.MapParams->ShadowBase) { in getShadowOriginPtrUserspace() local
1662 IRB.CreateAdd(ShadowLong, constToIntPtr(IntptrTy, ShadowBase)); in getShadowOriginPtrUserspace()
4296 Value *ShadowBase, *OriginBase; in poisonAllocaUserspace() local
4297 std::tie(ShadowBase, OriginBase) = getShadowOriginPtr( in poisonAllocaUserspace()
4301 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, I.getAlign()); in poisonAllocaUserspace()
4662 Value *ShadowBase = getShadowPtrForVAArgument( in visitCallBase() local
4668 if (!ShadowBase) in visitCallBase()
4675 IRB.CreateMemCpy(ShadowBase, kShadowTLSAlignment, ShadowPtr, in visitCallBase()
[all …]
H A DDataFlowSanitizer.cpp284 uint64_t ShadowBase; member
1912 uint64_t ShadowBase = MapParams->ShadowBase; in getShadowOriginAddress() local
1913 if (ShadowBase != 0) { in getShadowOriginAddress()
1915 IRB.CreateAdd(ShadowLong, ConstantInt::get(IntptrTy, ShadowBase)); in getShadowOriginAddress()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h52 bool IsKasan, uint64_t *ShadowBase,
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1405 uint64_t ShadowBase; in LowerASAN_CHECK_MEMACCESS() local
1409 AccessInfo.CompileKernel, &ShadowBase, in LowerASAN_CHECK_MEMACCESS()