Home
last modified time | relevance | path

Searched refs:getAsRegion (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp112 return S.getAsRegion(); in getPointedRegion()
159 State->getSVal(E, C.getLocationContext()).getAsRegion(); in reportPointerArithMisuse()
232 const MemRegion *Region = SV.getAsRegion(); in checkPostStmt()
253 const MemRegion *Region = AllocedVal.getAsRegion(); in checkPostStmt()
269 const MemRegion *Region = CastedVal.getAsRegion(); in checkPostStmt()
287 const MemRegion *Region = CastedVal.getAsRegion(); in checkPreStmt()
DPointerSubChecker.cpp47 const MemRegion *LR = LV.getAsRegion(); in checkPreStmt()
48 const MemRegion *RR = RV.getAsRegion(); in checkPreStmt()
DDynamicTypePropagation.cpp175 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) in checkPreCall()
188 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); in checkPreCall()
207 const MemRegion *RetReg = Call.getReturnValue().getAsRegion(); in checkPostCall()
237 const MemRegion *RecReg = Msg->getReceiverSVal().getAsRegion(); in checkPostCall()
262 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) { in checkPostCall()
280 const MemRegion *ToR = C.getSVal(CE).getAsRegion(); in dynamicTypePropagationOnCasts()
300 const MemRegion *MR = C.getSVal(NewE).getAsRegion(); in checkPostStmt()
348 const MemRegion *ToR = C.getSVal(CastE).getAsRegion(); in getBetterObjCType()
844 const MemRegion *RetRegion = M.getReturnValue().getAsRegion(); in checkPostObjCMessage()
DPthreadLockChecker.cpp128 const MemRegion *lockR = lock.getAsRegion(); in AcquireLock()
196 const MemRegion *lockR = lock.getAsRegion(); in ReleaseLock()
251 const MemRegion *LockR = Lock.getAsRegion(); in DestroyLock()
286 const MemRegion *LockR = Lock.getAsRegion(); in InitLock()
DLocalizationChecker.cpp602 const MemRegion *mt = S.getAsRegion(); in hasLocalizedState()
615 const MemRegion *mt = S.getAsRegion(); in hasNonLocalizedState()
627 const MemRegion *mt = S.getAsRegion(); in setLocalizedState()
638 const MemRegion *mt = S.getAsRegion(); in setNonLocalizedState()
704 const MemRegion *StringRegion = S.getAsRegion(); in reportLocalizationError()
783 dyn_cast_or_null<ObjCStringRegion>(svTitle.getAsRegion())) { in checkPreObjCMessage()
859 dyn_cast_or_null<SymbolicRegion>(sv.getAsRegion()); in checkPostCall()
915 if (LiteralSVal.getAsRegion() != NonLocalizedString) in VisitNode()
DStackAddrEscapeChecker.cpp129 const MemRegion *R = V.getAsRegion(); in checkPreStmt()
194 const MemRegion *vR = val.getAsRegion(); in checkEndFunction()
DArrayBoundChecker.cpp39 const MemRegion *R = l.getAsRegion(); in checkLocation()
DReturnPointerRangeChecker.cpp44 const MemRegion *R = V.getAsRegion(); in checkPreStmt()
DUndefCapturedBlockVarChecker.cpp60 C.getLocationContext()).getAsRegion()); in checkPostStmt()
DMacOSXAPIChecker.cpp61 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion(); in CheckDispatchOnce()
DBoolAssignmentChecker.cpp59 dyn_cast_or_null<TypedValueRegion>(loc.getAsRegion()); in checkBind()
DCastSizeChecker.cpp104 const MemRegion *R = state->getSVal(E, C.getLocationContext()).getAsRegion(); in checkPreStmt()
DChrootChecker.cpp111 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
DVforkChecker.cpp200 const MemRegion *MR = L.getAsRegion(); in checkBind()
DExprInspectionChecker.cpp160 auto MR = dyn_cast_or_null<SubRegion>(C.getSVal(CE->getArg(0)).getAsRegion()); in analyzerGetExtent()
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIChecker.cpp31 PreCallEvent.getArgSVal(PreCallEvent.getNumArgs() - 1).getAsRegion(); in checkDoubleNonblocking()
138 return CE.getArgSVal(0).getAsRegion(); in topRegionUsedByWait()
140 return CE.getArgSVal(1).getAsRegion(); in topRegionUsedByWait()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp179 if (const MemRegion *MR = getArgSVal(Idx).getAsRegion()) in invalidateRegions()
450 const MemRegion *ThisRegion = ThisVal.getAsRegion(); in getExtraInvalidatedValues()
483 const MemRegion *R = getCXXThisVal().getAsRegion(); in getRuntimeDefinition()
590 const MemRegion *DataReg = getSVal(Callee).getAsRegion(); in getBlockRegion()
690 const MemRegion *IvarRegion = IvarLVal.getAsRegion(); in getExtraInvalidatedValues()
912 Receiver = getReceiverSVal().getAsRegion(); in getRuntimeDefinition()
1079 ThisVal.getAsRegion(), State, CallerCtx); in getCaller()
1112 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(), in getCaller()
DExprEngineCXX.cpp123 return LValue.getAsRegion(); in getRegionForConstructedObject()
146 return FieldVal.getAsRegion(); in getRegionForConstructedObject()
277 Target = ThisVal.getAsRegion(); in VisitCXXConstructExpr()
284 Target = BaseVal.getAsRegion(); in VisitCXXConstructExpr()
371 Dest = DestVal.getAsRegion(); in VisitCXXDestructor()
DBugReporterVisitors.cpp312 if (const MemRegion *MR = LValue->getAsRegion()) { in visitNodeInitial()
568 dyn_cast_or_null<BlockDataRegion>(V.getAsRegion())) { in VisitNode()
1029 R = LVState->getSVal(Inner, LVNode->getLocationContext()).getAsRegion(); in trackNullOrUndefValue()
1096 const MemRegion *RegionRVal = RVal.getAsRegion(); in trackNullOrUndefValue()
1339 LCtx).getAsRegion()) { in patternMatch()
1499 if (const MemRegion *R = state->getLValue(VD, LCtx).getAsRegion()) { in VisitConditionVariable()
1543 if (const MemRegion *R = state->getLValue(VD, LCtx).getAsRegion()) { in VisitTrueTest()
1665 const MemRegion *ArgReg = Call->getArgSVal(Idx).getAsRegion(); in VisitNode()
DSVals.cpp135 const MemRegion *SVal::getAsRegion() const { in getAsRegion() function in SVal
140 return X->getLoc().getAsRegion(); in getAsRegion()
DStore.cpp216 const MemRegion *MR = V.getAsRegion(); in regionMatchesCXXRecordType()
299 const MemRegion *MR = Base.getAsRegion(); in evalDynamicCast()
DProgramState.cpp118 const MemRegion *MR = LV.getAsRegion(); in bindLoc()
661 const MemRegion *R = getSVal(S, LCtx).getAsRegion(); in addTaint()
699 if (const MemRegion *Reg = V.getAsRegion()) in isTainted()
DExprEngineCallAndReturn.cpp206 const MemRegion *MR = V.getAsRegion(); in isTemporaryPRValue()
601 const MemRegion *Target = Ctor.getCXXThisVal().getAsRegion(); in mayInlineCallKind()
648 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); in mayInlineCallKind()
DSimpleSValBuilder.cpp720 const MemRegion *LeftMR = lhs.getAsRegion(); in evalBinOpLL()
723 const MemRegion *RightMR = rhs.getAsRegion(); in evalBinOpLL()
900 if (const MemRegion *region = lhs.getAsRegion()) { in evalBinOpLN()
DRegionStore.cpp979 if (const MemRegion *R = V.getAsRegion()) { in VisitBinding()
1034 if (const MemRegion *LR = L->getAsRegion()) in VisitCluster()
1142 const MemRegion *R = V.getAsRegion(); in VisitCluster()
1226 if (const MemRegion *R = (*I).getAsRegion()) in populateWorkList()
1232 if (const MemRegion *R = V.getAsRegion()) { in populateWorkList()
1962 if (const MemRegion *R = D.getAsRegion()) in includedInBindings()
2375 if (const MemRegion *R = V.getAsRegion()) { in VisitBinding()

12