Searched refs:SanOpts (Results 1 – 9 of 9) sorted by relevance
457 if (!CGF.SanOpts.has(SanitizerKind::SignedIntegerOverflow)) in EmitMul()466 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) in EmitMul()830 if (CGF.SanOpts.has(SanitizerKind::FloatCastOverflow) && in EmitScalarConversion()1155 if (CGF.SanOpts.has(SanitizerKind::ArrayBounds)) in VisitArraySubscriptExpr()1387 if (CGF.SanOpts.has(SanitizerKind::CFIUnrelatedCast)) { in VisitCastExpr()1422 if (CGF.SanOpts.has(SanitizerKind::CFIDerivedCast)) in VisitCastExpr()1621 if (!CGF.SanOpts.has(SanitizerKind::SignedIntegerOverflow)) in EmitAddConsiderOverflowBehavior()1669 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) && in EmitScalarPrePostIncDec()1720 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) { in EmitScalarPrePostIncDec()2126 CGF.SanOpts.has(SanitizerKind::UnsignedIntegerOverflow)) && in EmitCompoundAssignLValue()[all …]
482 return SanOpts.has(SanitizerKind::Null) | in sanitizePerformTypeCheck()483 SanOpts.has(SanitizerKind::Alignment) | in sanitizePerformTypeCheck()484 SanOpts.has(SanitizerKind::ObjectSize) | in sanitizePerformTypeCheck()485 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()507 if ((SanOpts.has(SanitizerKind::Null) || AllowNullPointers) && in EmitTypeCheck()525 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()544 if (SanOpts.has(SanitizerKind::Alignment)) { in EmitTypeCheck()579 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()702 assert(SanOpts.has(SanitizerKind::ArrayBounds) && in EmitBoundsCheck()805 if (SanOpts.has(SanitizerKind::ArrayBounds) && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()[all …]
41 SanOpts(CGM.getLangOpts().Sanitize), IsSanitizerScope(false), in CodeGenFunction()607 SanOpts.clear(); in StartFunction()631 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function)) { in StartFunction()908 if (SanOpts.has(SanitizerKind::Return)) { in GenerateCode()1575 if (SanOpts.has(SanitizerKind::VLABound) && in EmitVariablyModifiedType()
836 : CGF(CGF), OldSanOpts(CGF.SanOpts) { in CopyingValueRepresentation()837 CGF.SanOpts.set(SanitizerKind::Bool, false); in CopyingValueRepresentation()838 CGF.SanOpts.set(SanitizerKind::Enum, false); in CopyingValueRepresentation()841 CGF.SanOpts = OldSanOpts; in ~CopyingValueRepresentation()2129 if (!SanOpts.has(SanitizerKind::CFICastStrict)) in EmitVTablePtrCheckForCall()2159 if (!SanOpts.has(SanitizerKind::CFICastStrict)) in EmitVTablePtrCheckForCast()
2370 if (SanOpts.has(SanitizerKind::ReturnsNonnullAttribute)) { in EmitFunctionEpilog()2698 if (!CGF.SanOpts.has(SanitizerKind::NonnullAttribute) || !FD) in emitNonNullArgCheck()
259 if (SanOpts.has(SanitizerKind::CFINVCall) && in EmitCXXMemberOrOperatorMemberCallExpr()
242 SanitizerSet SanOpts; variable
1447 if (CGF.SanOpts.has(SanitizerKind::CFIVCall)) in getVirtualFunctionPointer()
508 if (SanOpts.has(SanitizerKind::Unreachable)) { in EmitBuiltinExpr()