Home
last modified time | relevance | path

Searched refs:StInBound (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp61 ProgramStateRef StInBound, StOutBound; in checkLocation() local
62 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, ElementCount); in checkLocation()
63 if (StOutBound && !StInBound) { in checkLocation()
83 C.addTransition(StInBound); in checkLocation()
H A DReturnPointerRangeChecker.cpp73 ProgramStateRef StInBound, StOutBound; in checkPreStmt() local
74 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, ElementCount); in checkPreStmt()
75 if (StOutBound && !StInBound) { in checkPreStmt()
H A DUndefResultChecker.cpp56 ProgramStateRef StInBound, StOutBound; in isArrayIndexOutOfBounds() local
57 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, ElementCount); in isArrayIndexOutOfBounds()
58 return StOutBound && !StInBound; in isArrayIndexOutOfBounds()
H A DObjCContainersChecker.cpp132 ProgramStateRef StInBound, StOutBound; in checkPreStmt() local
133 std::tie(StInBound, StOutBound) = State->assumeInBoundDual(Idx, *Size, T); in checkPreStmt()
134 if (StOutBound && !StInBound) { in checkPreStmt()
H A DCStringChecker.cpp426 ProgramStateRef StInBound, StOutBound; in CheckLocation() local
427 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, Size); in CheckLocation()
428 if (StOutBound && !StInBound) { in CheckLocation()
445 StInBound->getSVal(ER).isUndef()) { in CheckLocation()
446 emitUninitializedReadBug(C, StInBound, Buffer.Expression); in CheckLocation()
453 return StInBound; in CheckLocation()
1056 ProgramStateRef StInBound = State->assumeInBound(Idx, SizeDV, true); in isFirstBufInBound() local
1058 return static_cast<bool>(StInBound); in isFirstBufInBound()