Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
88 C.addTransition(StInBound); in checkLocation()
H A DReturnPointerRangeChecker.cpp67 ProgramStateRef StInBound, StOutBound; in checkPreStmt() local
68 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, ElementCount); in checkPreStmt()
69 if (StOutBound && !StInBound) { in checkPreStmt()
H A DObjCContainersChecker.cpp137 ProgramStateRef StInBound, StOutBound; in checkPreStmt() local
138 std::tie(StInBound, StOutBound) = State->assumeInBoundDual(Idx, *Size, T); in checkPreStmt()
139 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 DCStringChecker.cpp387 ProgramStateRef StInBound, StOutBound; in CheckLocation() local
388 std::tie(StInBound, StOutBound) = state->assumeInBoundDual(Idx, Size); in CheckLocation()
389 if (StOutBound && !StInBound) { in CheckLocation()
406 StInBound->getSVal(ER).isUndef()) { in CheckLocation()
407 emitUninitializedReadBug(C, StInBound, Buffer.Expression); in CheckLocation()
414 return StInBound; in CheckLocation()
997 ProgramStateRef StInBound = state->assumeInBound(Idx, SizeDV, true); in IsFirstBufInBound() local
999 return static_cast<bool>(StInBound); in IsFirstBufInBound()