Home
last modified time | relevance | path

Searched refs:StateMgr (Results 1 – 22 of 22) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h69 ProgramStateManager StateMgr; variable
305 ProgramStateManager& getStateManager() override { return StateMgr; } in getStateManager()
307 StoreManager& getStoreManager() { return StateMgr.getStoreManager(); } in getStoreManager()
310 return StateMgr.getConstraintManager(); in getConstraintManager()
315 return StateMgr.getBasicVals(); in getBasicVals()
DSValBuilder.h46 ProgramStateManager &StateMgr; variable
68 StateMgr(stateMgr), in SValBuilder()
129 ProgramStateManager &getStateManager() { return StateMgr; } in getStateManager()
DStore.h43 ProgramStateManager &StateMgr; variable
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIterator.cpp214 auto &StateMgr = State->getStateManager(); in createIteratorPosition() local
215 auto &SymMgr = StateMgr.getSymbolManager(); in createIteratorPosition()
216 auto &ACtx = StateMgr.getContext(); in createIteratorPosition()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h153 ProgramStateManager StateMgr; variable
415 ProgramStateManager &getStateManager() { return StateMgr; } in getStateManager()
417 StoreManager &getStoreManager() { return StateMgr.getStoreManager(); } in getStoreManager()
420 return StateMgr.getConstraintManager(); in getConstraintManager()
425 return StateMgr.getBasicVals(); in getBasicVals()
DSValBuilder.h67 ProgramStateManager &StateMgr; variable
88 StateMgr(stateMgr), ArrayIndexTy(context.LongLongTy), in SValBuilder()
158 ProgramStateManager &getStateManager() { return StateMgr; } in getStateManager()
DStore.h56 ProgramStateManager &StateMgr; variable
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp394 const unsigned MaxComp = StateMgr.getOwningEngine() in makeSymExprValNN()
577 StoreManager &storeMgr = StateMgr.getStoreManager(); in evalCast()
597 val = StateMgr.ArrayToPointer(val.castAs<Loc>(), elemTy); in evalCast()
653 StoreManager &storeMgr = StateMgr.getStoreManager(); in evalCast()
DStore.cpp43 : svalBuilder(stateMgr.getSValBuilder()), StateMgr(stateMgr), in StoreManager()
75 ASTContext &Ctx = StateMgr.getContext(); in castRegion()
DExprEngine.cpp210 StateMgr(getContext(), mgr.getStoreManagerCreator(), in ExprEngine()
213 SymMgr(StateMgr.getSymbolManager()), in ExprEngine()
214 MRMgr(StateMgr.getRegionManager()), in ExprEngine()
215 svalBuilder(StateMgr.getSValBuilder()), in ExprEngine()
233 ProgramStateRef state = StateMgr.getInitialState(InitLoc); in getInitialState()
336 ProgramStateManager &StateMgr = State->getStateManager(); in createTemporaryRegionIfNeeded() local
337 MemRegionManager &MRMgr = StateMgr.getRegionManager(); in createTemporaryRegionIfNeeded()
338 StoreManager &StoreMgr = StateMgr.getStoreManager(); in createTemporaryRegionIfNeeded()
731 CleanedState = StateMgr.removeDeadBindingsFromEnvironmentAndStore( in removeDead()
754 assert(StateMgr.haveEqualEnvironments(CheckerState, Pred->getState()) && in removeDead()
[all …]
DSimpleSValBuilder.cpp449 ProgramStateManager &StateMgr = State->getStateManager(); in tryRearrange() local
450 SValBuilder &SVB = StateMgr.getSValBuilder(); in tryRearrange()
456 StateMgr.getOwningEngine().getAnalysisManager().getAnalyzerOptions(); in tryRearrange()
1120 Result = StateMgr.getStoreManager().evalDerivedToBase( in evalBinOpLN()
DCallEvent.cpp791 ProgramStateManager &StateMgr = getState()->getStateManager(); in getInitialStackFrameContents() local
792 SValBuilder &SVB = StateMgr.getSValBuilder(); in getInitialStackFrameContents()
806 ThisVal = StateMgr.getStoreManager().attemptDownCast(ThisVal, Ty, Failed); in getInitialStackFrameContents()
DRegionStore.cpp385 ExprEngine &Eng = StateMgr.getOwningEngine(); in RegionStoreManager()
728 ClusterAnalysis(RegionStoreManager &rm, ProgramStateManager &StateMgr, in ClusterAnalysis() argument
730 : RM(rm), Ctx(StateMgr.getContext()), in ClusterAnalysis()
731 svalBuilder(StateMgr.getSValBuilder()), B(std::move(b)) {} in ClusterAnalysis()
1347 InvalidateRegionsWorker W(*this, StateMgr, B, Ex, Count, LCtx, IS, ITraits, in invalidateRegions()
2603 RemoveDeadBindingsWorker W(*this, StateMgr, B, SymReaper, LCtx); in removeDeadBindings()
DBugReporterVisitors.cpp1147 ProgramStateManager &StateMgr = BRC.getStateManager(); in visitNodeMaybeUnsuppress() local
1148 CallEventManager &CallMgr = StateMgr.getCallEventManager(); in visitNodeMaybeUnsuppress()
1421 ProgramStateManager &StateMgr = BRC.getStateManager(); in VisitNode() local
1422 CallEventManager &CallMgr = StateMgr.getCallEventManager(); in VisitNode()
1834 ProgramStateManager &StateMgr = N->getState()->getStateManager(); in getLocationRegionIfReference() local
1835 MemRegionManager &MRMgr = StateMgr.getRegionManager(); in getLocationRegionIfReference()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp356 ProgramStateManager &StateMgr = BRC.getStateManager(); in visitNodeMaybeUnsuppress() local
357 CallEventManager &CallMgr = StateMgr.getCallEventManager(); in visitNodeMaybeUnsuppress()
512 ProgramStateManager &StateMgr = BRC.getStateManager(); in VisitNode() local
513 CallEventManager &CallMgr = StateMgr.getCallEventManager(); in VisitNode()
892 ProgramStateManager &StateMgr = N->getState()->getStateManager(); in getLocationRegionIfReference() local
893 MemRegionManager &MRMgr = StateMgr.getRegionManager(); in getLocationRegionIfReference()
1173 ProgramStateManager &StateMgr = state->getStateManager(); in registerStatementVarDecls() local
1178 StateMgr.getRegionManager().getVarRegion(VD, N->getLocationContext()); in registerStatementVarDecls()
DExprEngine.cpp79 StateMgr(getContext(), mgr.getStoreManagerCreator(), in ExprEngine()
82 SymMgr(StateMgr.getSymbolManager()), in ExprEngine()
83 svalBuilder(StateMgr.getSValBuilder()), in ExprEngine()
106 ProgramStateRef state = StateMgr.getInitialState(InitLoc); in getInitialState()
202 ProgramStateManager &StateMgr = State->getStateManager(); in createTemporaryRegionIfNeeded() local
203 MemRegionManager &MRMgr = StateMgr.getRegionManager(); in createTemporaryRegionIfNeeded()
204 StoreManager &StoreMgr = StateMgr.getStoreManager(); in createTemporaryRegionIfNeeded()
378 CleanedState = StateMgr.removeDeadBindings(CleanedState, SFC, SymReaper); in removeDead()
409 assert(StateMgr.haveEqualEnvironments(CheckerState, Pred->getState()) && in removeDead()
412 assert(StateMgr.haveEqualStores(CheckerState, Pred->getState()) && in removeDead()
[all …]
DSValBuilder.cpp514 StoreManager &storeMgr = StateMgr.getStoreManager(); in evalCast()
534 val = StateMgr.ArrayToPointer(val.castAs<Loc>(), elemTy); in evalCast()
590 StoreManager &storeMgr = StateMgr.getStoreManager(); in evalCast()
DStore.cpp25 : svalBuilder(stateMgr.getSValBuilder()), StateMgr(stateMgr), in StoreManager()
64 ASTContext &Ctx = StateMgr.getContext(); in castRegion()
DCallEvent.cpp540 ProgramStateManager &StateMgr = getState()->getStateManager(); in getInitialStackFrameContents() local
541 SValBuilder &SVB = StateMgr.getSValBuilder(); in getInitialStackFrameContents()
555 ThisVal = StateMgr.getStoreManager().evalDynamicCast(ThisVal, Ty, Failed); in getInitialStackFrameContents()
DRegionStore.cpp351 if (SubEngine *Eng = StateMgr.getOwningEngine()) { in RegionStoreManager()
669 ClusterAnalysis(RegionStoreManager &rm, ProgramStateManager &StateMgr, in ClusterAnalysis() argument
671 : RM(rm), Ctx(StateMgr.getContext()), in ClusterAnalysis()
672 svalBuilder(StateMgr.getSValBuilder()), B(std::move(b)) {} in ClusterAnalysis()
1262 invalidateRegionsWorker W(*this, StateMgr, B, Ex, Count, LCtx, IS, ITraits, in invalidateRegions()
2417 removeDeadBindingsWorker W(*this, StateMgr, B, SymReaper, LCtx); in removeDeadBindings()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
DRetainCountDiagnostics.cpp630 static AllocationInfo GetAllocationSite(ProgramStateManager &StateMgr, in GetAllocationSite() argument
649 StateMgr.iterBindings(St, FB); in GetAllocationSite()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp2214 GetAllocationSite(ProgramStateManager& StateMgr, const ExplodedNode *N, in GetAllocationSite() argument
2233 StateMgr.iterBindings(St, FB); in GetAllocationSite()