Searched refs:HandleOverflow (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_ubsan.c | 330 static void HandleOverflow(bool isFatal, struct COverflowData *pData, unsigned long ulLHS, unsigned… 350 HandleOverflow(bool isFatal, struct COverflowData *pData, unsigned long ulLHS, unsigned long ulRHS,… in HandleOverflow() function 735 HandleOverflow(false, pData, ulLHS, ulRHS, PLUS_STRING); in __ubsan_handle_add_overflow() 744 HandleOverflow(true, pData, ulLHS, ulRHS, PLUS_STRING); in __ubsan_handle_add_overflow_abort() 807 HandleOverflow(false, pData, ulLHS, ulRHS, DIVREM_STRING); in __ubsan_handle_divrem_overflow() 816 HandleOverflow(true, pData, ulLHS, ulRHS, DIVREM_STRING); in __ubsan_handle_divrem_overflow_abort() 924 HandleOverflow(false, pData, ulLHS, ulRHS, MUL_STRING); in __ubsan_handle_mul_overflow() 933 HandleOverflow(true, pData, ulLHS, ulRHS, MUL_STRING); in __ubsan_handle_mul_overflow_abort() 1090 HandleOverflow(false, pData, ulLHS, ulRHS, MINUS_STRING); in __ubsan_handle_sub_overflow() 1099 HandleOverflow(true, pData, ulLHS, ulRHS, MINUS_STRING); in __ubsan_handle_sub_overflow_abort()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 2633 static bool HandleOverflow(EvalInfo &Info, const Expr *E, in HandleOverflow() function 2651 return HandleOverflow(Info, E, Value, DestType); in HandleFloatToIntCast() 2791 return HandleOverflow(Info, E, Value, E->getType()); in CheckedIntArithmetic() 2828 HandleOverflowResult = HandleOverflow( in handleIntIntBinOp() 4657 return HandleOverflow(Info, E, ActualValue, SubobjType); in found() 4666 return HandleOverflow(Info, E, ActualValue, SubobjType); in found() 14042 !HandleOverflow(Info, E, TrueResult, E->getType())) in VisitBinaryOperator() 14224 if (!HandleOverflow(Info, E, -Value.extend(Value.getBitWidth() + 1), in VisitUnaryOperator() 14337 if (Overflowed && !HandleOverflow(Info, E, Result, DestType)) in VisitCastExpr() 14530 if (Overflowed && !HandleOverflow(Info, E, Negated, E->getType())) in VisitUnaryOperator() [all …]
|