Searched refs:SanOpts (Results 1 – 8 of 8) sorted by relevance
456 if (!CGF.SanOpts.has(SanitizerKind::SignedIntegerOverflow)) in EmitMul()465 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) in EmitMul()836 if (CGF.SanOpts.has(SanitizerKind::FloatCastOverflow) && in EmitScalarConversion()1143 if (CGF.SanOpts.has(SanitizerKind::ArrayBounds)) in VisitArraySubscriptExpr()1386 if (CGF.SanOpts.has(SanitizerKind::CFIUnrelatedCast)) { in VisitCastExpr()1425 if (CGF.SanOpts.has(SanitizerKind::CFIDerivedCast)) in VisitCastExpr()1616 if (!CGF.SanOpts.has(SanitizerKind::SignedIntegerOverflow)) in EmitIncDecConsiderOverflowBehavior()1656 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) && in EmitScalarPrePostIncDec()1704 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) { in EmitScalarPrePostIncDec()2117 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) && in EmitCompoundAssignLValue()[all …]
46 SanOpts(CGM.getLangOpts().Sanitize), IsSanitizerScope(false), in CodeGenFunction()677 SanOpts.clear(); in StartFunction()682 SanOpts.Mask &= ~Attr->getMask(); in StartFunction()686 if (SanOpts.hasOneOf(SanitizerKind::Address | SanitizerKind::KernelAddress)) in StartFunction()688 if (SanOpts.has(SanitizerKind::Thread)) in StartFunction()690 if (SanOpts.has(SanitizerKind::Memory)) in StartFunction()692 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction()743 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function)) { in StartFunction()1068 if (SanOpts.has(SanitizerKind::Return)) { in GenerateCode()1748 if (SanOpts.has(SanitizerKind::VLABound) && in EmitVariablyModifiedType()
526 return SanOpts.has(SanitizerKind::Null) | in sanitizePerformTypeCheck()527 SanOpts.has(SanitizerKind::Alignment) | in sanitizePerformTypeCheck()528 SanOpts.has(SanitizerKind::ObjectSize) | in sanitizePerformTypeCheck()529 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()551 if ((SanOpts.has(SanitizerKind::Null) || AllowNullPointers) && in EmitTypeCheck()568 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()587 if (SanOpts.has(SanitizerKind::Alignment)) { in EmitTypeCheck()622 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()746 assert(SanOpts.has(SanitizerKind::ArrayBounds) && in EmitBoundsCheck()852 if (SanOpts.has(SanitizerKind::CFIUnrelatedCast) && in EmitPointerWithAlignment()[all …]
979 : CGF(CGF), OldSanOpts(CGF.SanOpts) { in CopyingValueRepresentation()980 CGF.SanOpts.set(SanitizerKind::Bool, false); in CopyingValueRepresentation()981 CGF.SanOpts.set(SanitizerKind::Enum, false); in CopyingValueRepresentation()984 CGF.SanOpts = OldSanOpts; in ~CopyingValueRepresentation()1839 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups()1865 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups()1889 SanOpts.has(SanitizerKind::Memory)) in EnterDtorCleanups()2629 if (SanOpts.has(SanitizerKind::CFIVCall)) in EmitTypeMetadataCodeForVCall()2637 if (!SanOpts.has(SanitizerKind::CFICastStrict)) in EmitVTablePtrCheckForCall()2660 if (!SanOpts.has(SanitizerKind::CFICastStrict)) in EmitVTablePtrCheckForCast()[all …]
259 if (SanOpts.has(SanitizerKind::CFINVCall) && in EmitCXXMemberOrOperatorMemberCallExpr()
2834 if (CurCodeDecl && SanOpts.has(SanitizerKind::ReturnsNonnullAttribute)) { in EmitFunctionEpilog()3152 if (!SanOpts.has(SanitizerKind::NonnullAttribute) || !FD) in EmitNonNullArgCheck()
259 SanitizerSet SanOpts; variable
788 if (SanOpts.has(SanitizerKind::Unreachable)) { in EmitBuiltinExpr()