| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 80 verifyMatch(C, InstCall->getCXXThisVal(), Call.getArgSVal(0)); in checkPreCall() 89 verifyMatch(C, Call.getArgSVal(0), Call.getArgSVal(1)); in checkPreCall() 97 verifyMatch(C, Call.getArgSVal(0), in checkPreCall() 100 verifyMatch(C, Call.getArgSVal(1), in checkPreCall() 104 verifyMatch(C, Call.getArgSVal(0), in checkPreCall() 109 verifyMatch(C, Call.getArgSVal(1), Call.getArgSVal(2)); in checkPreCall() 112 verifyMatch(C, Call.getArgSVal(0), in checkPreCall() 132 verifyMatch(C, Call.getArgSVal(0), Call.getArgSVal(1)); in checkPreCall() 185 LHS = Call.getArgSVal(J); in checkPreCall() 187 verifyMatch(C, LHS, Call.getArgSVal(J)); in checkPreCall()
|
| H A D | IteratorRangeChecker.cpp | 93 verifyIncrement(C, Call.getArgSVal(0)); in checkPreCall() 102 verifyDecrement(C, Call.getArgSVal(0)); in checkPreCall() 112 Call.getArgSVal(0)); in checkPreCall() 118 Call.getArgSVal(0), Call.getArgSVal(1)); in checkPreCall() 126 verifyDereference(C, Call.getArgSVal(0)); in checkPreCall() 133 (this->**Verifier)(C, Call.getArgSVal(0), Call.getArgSVal(1)); in checkPreCall() 137 C, Call.getArgSVal(0), in checkPreCall()
|
| H A D | IteratorModeling.cpp | 205 if (const auto *Pos = getIteratorPosition(State, Call.getArgSVal(0))) { in checkPostCall() 208 State = removeIteratorPosition(State, Call.getArgSVal(0)); in checkPostCall() 225 if (const auto *Pos = getIteratorPosition(State, Call.getArgSVal(i))) { in checkPostCall() 361 InstCall->getCXXThisVal(), Call.getArgSVal(0), Op); in handleOverloadedOperator() 365 handleComparison(C, OrigExpr, Call.getReturnValue(), Call.getArgSVal(0), in handleOverloadedOperator() 366 Call.getArgSVal(1), Op); in handleOverloadedOperator() 377 InstCall->getCXXThisVal(), Call.getArgSVal(0)); in handleOverloadedOperator() 391 const SVal FirstArg = Call.getArgSVal(0); in handleOverloadedOperator() 392 const SVal SecondArg = Call.getArgSVal(1); in handleOverloadedOperator() 408 handleIncrement(C, Call.getReturnValue(), Call.getArgSVal(0), in handleOverloadedOperator() [all …]
|
| H A D | BuiltinFunctionChecker.cpp | 49 SVal Arg = Call.getArgSVal(0); in evalCall() 77 SVal Arg = Call.getArgSVal(0); in evalCall() 92 auto Size = Call.getArgSVal(0); in evalCall()
|
| H A D | PthreadLockChecker.cpp | 358 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), false, in AcquirePthreadLock() 365 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), false, in AcquireXNULock() 372 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), true, in TryPthreadLock() 378 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), true, in TryXNULock() 385 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), true, in TryFuchsiaLock() 391 AcquireLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), true, in TryC11Lock() 471 ReleaseLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), CheckKind); in ReleaseAnyLock() 523 DestroyLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), in DestroyPthreadLock() 530 DestroyLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), XNUSemantics, in DestroyXNULock() 590 InitLockAux(Call, C, Call.getArgExpr(0), Call.getArgSVal(0), CheckKind); in InitAnyLock()
|
| H A D | SmartPtrModeling.cpp | 296 return handleSwap(State, Call.getArgSVal(0), Call.getArgSVal(1), C); in evalCall() 407 auto ArgVal = Call.getArgSVal(0); in evalCall() 483 SVal First = Call.getArgSVal(0); in handleComparisionOp() 484 SVal Second = Call.getArgSVal(1); in handleComparisionOp() 528 const auto StreamVal = Call.getArgSVal(0); in handleOstreamOperator() 612 State = State->set<TrackedRegionMap>(ThisRegion, Call.getArgSVal(0)); in handleReset() 673 handleSwap(State, IC->getCXXThisVal(), Call.getArgSVal(0), C); in handleSwapMethod() 748 const MemRegion *OtherSmartPtrRegion = OC->getArgSVal(0).getAsRegion(); in handleAssignOp() 751 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp() 773 const auto *OtherSmartPtrRegion = Call.getArgSVal(0).getAsRegion(); in handleMoveCtr()
|
| H A D | ValistChecker.cpp | 141 getVAListAsRegion(Call.getArgSVal(FuncInfo.VAListPos), in checkPreCall() 312 getVAListAsRegion(Call.getArgSVal(0), Call.getArgExpr(0), Symbolic, C); in checkVAListStartCall() 320 getVAListAsRegion(Call.getArgSVal(1), Call.getArgExpr(1), Symbolic, C); in checkVAListStartCall() 359 getVAListAsRegion(Call.getArgSVal(0), Call.getArgExpr(0), Symbolic, C); in checkVAListEndCall()
|
| H A D | GTestChecker.cpp | 136 SVal BooleanArgVal = Call->getArgSVal(0); in modelAssertionResultBoolConstructor() 166 SVal OtherVal = Call->getArgSVal(0); in modelAssertionResultCopyConstructor()
|
| H A D | MIGChecker.cpp | 190 getOriginParam(Call.getArgSVal(0), C, /*IncludeBaseRegions=*/true)) { in checkPostCall() 210 SVal Arg = Call.getArgSVal(ArgIdx); in checkPostCall()
|
| H A D | TrustNonnullChecker.cpp | 108 if (auto L = Msg.getArgSVal(1).getAs<Loc>()) in checkPostObjCMessage() 116 SymbolRef ArgS = Msg.getArgSVal(0).getAsSymbol(); in checkPostObjCMessage()
|
| H A D | MmapWriteExecChecker.cpp | 50 SVal ProtVal = Call.getArgSVal(2); in checkPreCall()
|
| H A D | StringChecker.cpp | 71 const auto Param = Call.getArgSVal(0).getAs<Loc>(); in checkPreCall()
|
| H A D | FuchsiaHandleChecker.cpp | 325 if (SymbolRef Handle = Call.getArgSVal(Arg).getAsSymbol()) in checkPreCall() 337 getFuchsiaHandleSymbols(PVD->getType(), Call.getArgSVal(Arg), State); in checkPreCall() 418 getFuchsiaHandleSymbols(PVD->getType(), Call.getArgSVal(Arg), State); in checkPostCall() 585 getFuchsiaHandleSymbols(PVD->getType(), Call->getArgSVal(Arg), State); in checkPointerEscape()
|
| H A D | InnerPointerChecker.cpp | 176 SVal Arg = FC->getArgSVal(ArgI); in checkFunctionArguments() 231 dyn_cast_or_null<TypedValueRegion>(Call.getArgSVal(0).getAsRegion()); in checkPostCall()
|
| H A D | ObjCSelfInitChecker.cpp | 253 SVal argV = CE.getArgSVal(i); in checkPreCall() 282 SVal argV = CE.getArgSVal(i); in checkPostCall()
|
| H A D | MoveChecker.cpp | 458 const auto ArgRegion = AFC->getArgSVal(0).getAsRegion(); in checkPostCall() 609 const MemRegion *ArgRegion = CC->getArgSVal(0).getAsRegion(); in checkPreCall() 660 const MemRegion *ArgRegion = IC->getArgSVal(0).getAsRegion(); in checkPreCall()
|
| H A D | InvalidatedIteratorChecker.cpp | 70 verifyAccess(C, Call.getArgSVal(0)); in checkPreCall()
|
| H A D | ErrnoTesterChecker.cpp | 88 Call.getArgSVal(0), Irrelevant)); in evalSetErrno()
|
| H A D | ContainerModeling.cpp | 159 Call.getArgSVal(0)); in checkPostCall() 177 (this->**Handler1)(C, InstCall->getCXXThisVal(), Call.getArgSVal(0)); in checkPostCall() 183 (this->**Handler2)(C, InstCall->getCXXThisVal(), Call.getArgSVal(0), in checkPostCall() 184 Call.getArgSVal(1)); in checkPostCall()
|
| H A D | CastValueChecker.cpp | 489 DV = Call.getArgSVal(0).getAs<DefinedOrUnknownSVal>(); in evalCall() 498 DV = Call.getArgSVal(0).getAs<DefinedOrUnknownSVal>(); in evalCall()
|
| H A D | StdLibraryFunctionsChecker.cpp | 265 SVal V = getArgSVal(Call, getArgNo()); in apply() 339 SVal BufV = getArgSVal(Call, getArgNo()); in apply() 349 SVal SizeV = getArgSVal(Call, *SizeArgN); in apply() 352 SVal SizeMulV = getArgSVal(Call, *SizeMultiplierArgN); in apply() 698 static SVal getArgSVal(const CallEvent &Call, ArgNo ArgN) { in getArgSVal() function in __anon2143b5530111::StdLibraryFunctionsChecker 699 return ArgN == Ret ? Call.getReturnValue() : Call.getArgSVal(ArgN); in getArgSVal() 871 SVal V = getArgSVal(Call, getArgNo()); in applyAsOutOfRange() 900 SVal V = getArgSVal(Call, getArgNo()); in applyAsWithinRange() 956 SVal V = getArgSVal(Call, getArgNo()); in apply() 960 SVal OtherV = getArgSVal(Call, OtherArg); in apply() [all …]
|
| H A D | SimpleStreamChecker.cpp | 132 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIChecker.cpp | 31 PreCallEvent.getArgSVal(PreCallEvent.getNumArgs() - 1).getAsRegion(); in checkDoubleNonblocking() 138 return CE.getArgSVal(0).getAsRegion(); in topRegionUsedByWait() 140 return CE.getArgSVal(1).getAsRegion(); in topRegionUsedByWait()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | PutenvWithAutoChecker.cpp | 45 SVal ArgV = Call.getArgSVal(0); in checkPostCall()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 127 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType() 256 if (const MemRegion *MR = getArgSVal(Idx).getAsRegion()) in invalidateRegions() 261 ValuesToInvalidate.push_back(getArgSVal(Idx)); in invalidateRegions() 305 SVal CallEvent::getArgSVal(unsigned Index) const { in getArgSVal() function in CallEvent 481 SVal ArgVal = Call.getArgSVal(Idx); in addParameterValuesToBindings()
|