Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp595 *ShadowBase = Mapping.Offset; in getAddressSanitizerParams()
1095 IRBuilder<> &IRB, Value *ShadowBase);
1098 Value *ShadowBase);
1187 Value *ShadowBase; in memToShadow() local
1189 ShadowBase = LocalDynamicShadow; in memToShadow()
1191 ShadowBase = ConstantInt::get(IntptrTy, Mapping.Offset); in memToShadow()
1193 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow()
1195 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
3267 Value *ShadowBase = ASan.memToShadow(LocalStackBase, IRB); in processStaticAllocas() local
3285 IRB, ShadowBase); in processStaticAllocas()
[all …]
H A DHWAddressSanitizer.cpp406 Value *ShadowBase = nullptr; member in __anone00de11f0111::HWAddressSanitizer
740 if (ShadowBase == I) in getInterestingMemoryOperands()
810 return IRB.CreateGEP(Int8Ty, ShadowBase, Shadow); in memToShadow()
1177 ShadowBase = getShadowNonTls(IRB); in emitPrologue()
1179 ShadowBase = getDynamicShadowIfunc(IRB); in emitPrologue()
1181 if (!WithFrameRecord && ShadowBase) in emitPrologue()
1241 if (!ShadowBase) { in emitPrologue()
1248 ShadowBase = IRB.CreateAdd( in emitPrologue()
1253 ShadowBase = IRB.CreateIntToPtr(ShadowBase, Int8PtrTy); in emitPrologue()
1463 assert(!ShadowBase); in sanitizeFunction()
[all …]
H A DMemorySanitizer.cpp354 uint64_t ShadowBase; member
1474 uint64_t ShadowBase = MS.MapParams->ShadowBase; in getShadowOriginPtrUserspace() local
1475 if (ShadowBase != 0) { in getShadowOriginPtrUserspace()
4257 if (!ShadowBase) in visitCallBase()
4278 ShadowBase = in visitCallBase()
4286 ShadowBase = in visitCallBase()
4297 ShadowBase = in visitCallBase()
4309 if (!ShadowBase) in visitCallBase()
5104 Value *ShadowBase = nullptr; in visitCallBase() local
5167 ShadowBase = in visitCallBase()
[all …]
H A DDataFlowSanitizer.cpp275 uint64_t ShadowBase; member
1730 uint64_t ShadowBase = MapParams->ShadowBase; in getShadowOriginAddress() local
1731 if (ShadowBase != 0) { in getShadowOriginAddress()
1733 IRB.CreateAdd(ShadowLong, ConstantInt::get(IntptrTy, ShadowBase)); in getShadowOriginAddress()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h52 bool IsKasan, uint64_t *ShadowBase,
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1349 uint64_t ShadowBase; in LowerASAN_CHECK_MEMACCESS() local
1353 AccessInfo.CompileKernel, &ShadowBase, in LowerASAN_CHECK_MEMACCESS()