Lines Matching refs:ASan
986 AddressSanitizer &ASan; member
1024 FunctionStackPoisoner(Function &F, AddressSanitizer &ASan, in FunctionStackPoisoner()
1026 : F(F), ASan(ASan), RTCI(RTCI), in FunctionStackPoisoner()
1027 DIB(*F.getParent(), /*AllowUnresolved*/ false), C(ASan.C), in FunctionStackPoisoner()
1028 IntptrTy(ASan.IntptrTy), IntptrPtrTy(PointerType::get(IntptrTy, 0)), in FunctionStackPoisoner()
1029 Mapping(ASan.Mapping), in FunctionStackPoisoner()
1144 if (!ASan.isInterestingAlloca(AI) || isa<ScalableVectorType>(AllocaType) || in visitAllocaInst()
1169 if (!ASan.UseAfterScope) in visitIntrinsicInst()
1192 if (!ASan.isInterestingAlloca(*AI)) in visitIntrinsicInst()
1204 HasInlineAsm |= CI->isInlineAsm() && &CB != ASan.LocalDynamicShadow; in visitCallBase()
3105 if (ASan.UseAfterReturn == AsanDetectStackUseAfterReturnMode::Always || in initializeCallbacks()
3106 ASan.UseAfterReturn == AsanDetectStackUseAfterReturnMode::Runtime) { in initializeCallbacks()
3108 ASan.UseAfterReturn == AsanDetectStackUseAfterReturnMode::Always in initializeCallbacks()
3120 if (ASan.UseAfterScope) { in initializeCallbacks()
3151 std::min<size_t>(sizeof(uint64_t), ASan.LongSize / 8); in copyToShadowInline()
3220 if (j - i >= ASan.MaxInlinePoisoningSize) { in copyToShadow()
3245 if (CopyInsertPoint == ASan.LocalDynamicShadow) { in copyArgsPassedByValToAllocas()
3319 assert(ASan.isInterestingAlloca(*APC.AI)); in processDynamicAllocas()
3342 AddressSanitizer &ASan, Instruction &InsBefore, in findStoresToUninstrumentedArgAllocas() argument
3362 if (!Alloca || ASan.isInterestingAlloca(*Alloca)) in findStoresToUninstrumentedArgAllocas()
3418 findStoresToUninstrumentedArgAllocas(ASan, *InsBefore, ArgInitInsts); in processStaticAllocas()
3429 ASan.getAllocaSizeInBytes(*AI), in processStaticAllocas()
3441 uint64_t MinHeaderSize = std::max((uint64_t)ASan.LongSize / 2, Granularity); in processStaticAllocas()
3454 assert(ASan.isInterestingAlloca(*APC.AI)); in processStaticAllocas()
3472 ASan.UseAfterReturn != AsanDetectStackUseAfterReturnMode::Never && in processStaticAllocas()
3473 !ASan.CompileKernel && LocalStackSize <= kMaxStackMallocSize; in processStaticAllocas()
3495 if (ASan.UseAfterReturn == AsanDetectStackUseAfterReturnMode::Runtime) { in processStaticAllocas()
3577 ConstantInt::get(IntptrTy, ASan.LongSize / 8)), in processStaticAllocas()
3587 ConstantInt::get(IntptrTy, 2 * ASan.LongSize / 8)), in processStaticAllocas()
3594 Value *ShadowBase = ASan.memToShadow(LocalStackBase, IRB); in processStaticAllocas()
3643 if (ASan.MaxInlinePoisoningSize != 0 && StackMallocIdx <= 4) { in processStaticAllocas()
3651 ConstantInt::get(IntptrTy, ClassSize - ASan.LongSize / 8)); in processStaticAllocas()