| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | TypeSanitizer.cpp | 84 bool IsWrite, Value *ShadowBase, 92 bool instrumentMemInst(Value *I, Instruction *ShadowBase, 164 Value *ShadowBase = getShadowBase(*TysanGlobalsSetTypeFunction); in instrumentGlobals() local 183 ShadowBase, AppMemMask, true, false, in instrumentGlobals() 545 Instruction *ShadowBase = NeedsInstrumentation ? nullptr : getShadowBase(F); in sanitizeFunction() local 553 ShadowBase, AppMemMask, false, SanitizeFunction, TypeDescriptors, in sanitizeFunction() 561 Res |= instrumentMemInst(Inst, ShadowBase, AppMemMask, DL); in sanitizeFunction() 568 Value *ShadowBase, Value *AppMemMask) { in convertToShadowDataInt() argument 574 ShadowBase, "shadow.ptr.int"); in convertToShadowDataInt() 579 bool IsRead, bool IsWrite, Value *ShadowBase, Value *AppMemMask, in instrumentWithShadowUpdate() argument [all …]
|
| H A D | HWAddressSanitizer.cpp | 478 Value *ShadowBase = nullptr; member in __anon1b7bdbef0211::HWAddressSanitizer 864 if (ShadowBase == I) in getInterestingMemoryOperands() 937 return IRB.CreatePtrAdd(ShadowBase, Shadow); in memToShadow() 1016 {ShadowBase, Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessOutline() 1353 ShadowBase = getShadowNonTls(IRB); in emitPrologue() 1355 ShadowBase = getDynamicShadowIfunc(IRB); in emitPrologue() 1357 if (!WithFrameRecord && ShadowBase) in emitPrologue() 1405 if (!ShadowBase) { in emitPrologue() 1412 ShadowBase = IRB.CreateAdd( in emitPrologue() 1417 ShadowBase = IRB.CreateIntToPtr(ShadowBase, PtrTy); in emitPrologue() [all …]
|
| H A D | AddressSanitizer.cpp | 611 bool IsKasan, uint64_t *ShadowBase, in getAddressSanitizerParams() argument 614 *ShadowBase = Mapping.Offset; in getAddressSanitizerParams() 1266 IRBuilder<> &IRB, Value *ShadowBase); 1269 Value *ShadowBase); 1272 size_t End, IRBuilder<> &IRB, Value *ShadowBase); 1386 Value *ShadowBase; in memToShadow() local 1388 ShadowBase = LocalDynamicShadow; in memToShadow() 1390 ShadowBase = ConstantInt::get(IntptrTy, Mapping.Offset); in memToShadow() 1392 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow() 1394 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow() [all …]
|
| H A D | MemorySanitizer.cpp | 423 uint64_t ShadowBase; member 1038 CustomMapParams.ShadowBase = ClShadowBase; in initializeModule() 1817 if (uint64_t ShadowBase = MS.MapParams->ShadowBase) { in getShadowOriginPtrUserspace() local 1819 IRB.CreateAdd(ShadowLong, constToIntPtr(IntptrTy, ShadowBase)); in getShadowOriginPtrUserspace() 6113 Value *ShadowBase, *OriginBase; in poisonAllocaUserspace() local 6114 std::tie(ShadowBase, OriginBase) = getShadowOriginPtr( in poisonAllocaUserspace() 6118 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, I.getAlign()); in poisonAllocaUserspace() 6459 void CleanUnusedTLS(IRBuilder<> &IRB, Value *ShadowBase, in CleanUnusedTLS() 6468 IRB.CreateMemSet(ShadowBase, ConstantInt::getNullValue(IRB.getInt8Ty()), in CleanUnusedTLS() 6569 Value *ShadowBase = getShadowPtrForVAArgument(IRB, OverflowOffset); in visitCallBase() local [all …]
|
| H A D | DataFlowSanitizer.cpp | 284 uint64_t ShadowBase; member 1919 uint64_t ShadowBase = MapParams->ShadowBase; in getShadowOriginAddress() local 1920 if (ShadowBase != 0) { in getShadowOriginAddress() 1922 IRB.CreateAdd(ShadowLong, ConstantInt::get(IntptrTy, ShadowBase)); in getShadowOriginAddress()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | AddressSanitizerCommon.h | 58 bool IsKasan, uint64_t *ShadowBase,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAsanInstrumentation.cpp | 146 Value *ShadowBase = ConstantInt::get(IntptrTy, AsanOffset); in memToShadow() local 147 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MCInstLower.cpp | 953 uint64_t ShadowBase; in LowerASAN_CHECK_MEMACCESS() local 957 &ShadowBase, &MappingScale, &OrShadowOffset); in LowerASAN_CHECK_MEMACCESS()
|