/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CloneChecker.cpp | 41 void checkASTCodeBody(const Decl *D, AnalysisManager &Mgr, 45 AnalysisManager &Mgr, BugReporter &BR) const; 48 void reportClones(BugReporter &BR, AnalysisManager &Mgr, 54 BugReporter &BR, AnalysisManager &Mgr, 59 void CloneChecker::checkASTCodeBody(const Decl *D, AnalysisManager &Mgr, in checkASTCodeBody() argument 67 AnalysisManager &Mgr, in checkEndOfTranslationUnit() argument 83 reportSuspiciousClones(BR, Mgr, AllCloneGroups); in checkEndOfTranslationUnit() 96 reportClones(BR, Mgr, AllCloneGroups); in checkEndOfTranslationUnit() 100 AnalysisManager &Mgr) { in makeLocation() argument 101 ASTContext &ACtx = Mgr.getASTContext(); in makeLocation() [all …]
|
D | VirtualCallChecker.cpp | 204 void ento::registerVirtualCallModeling(CheckerManager &Mgr) { in registerVirtualCallModeling() argument 205 Mgr.registerChecker<VirtualCallChecker>(); in registerVirtualCallModeling() 208 void ento::registerPureVirtualCallChecker(CheckerManager &Mgr) { in registerPureVirtualCallChecker() argument 209 auto *Chk = Mgr.getChecker<VirtualCallChecker>(); in registerPureVirtualCallChecker() 210 Chk->BT_Pure = std::make_unique<BugType>(Mgr.getCurrentCheckerName(), in registerPureVirtualCallChecker() 215 void ento::registerVirtualCallChecker(CheckerManager &Mgr) { in registerVirtualCallChecker() argument 216 auto *Chk = Mgr.getChecker<VirtualCallChecker>(); in registerVirtualCallChecker() 217 if (!Mgr.getAnalyzerOptions().getCheckerBooleanOption( in registerVirtualCallChecker() 218 Mgr.getCurrentCheckerName(), "PureOnly")) { in registerVirtualCallChecker() 220 Mgr.getCurrentCheckerName(), "Unexpected loss of virtual dispatch", in registerVirtualCallChecker() [all …]
|
D | ObjCPropertyChecker.cpp | 30 void checkASTDecl(const ObjCPropertyDecl *D, AnalysisManager &Mgr, 36 AnalysisManager &Mgr, in checkASTDecl() argument 78 void ento::registerObjCPropertyChecker(CheckerManager &Mgr) { in registerObjCPropertyChecker() argument 79 Mgr.registerChecker<ObjCPropertyChecker>(); in registerObjCPropertyChecker()
|
D | ObjCMissingSuperCallChecker.cpp | 69 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr, 167 AnalysisManager &Mgr, in checkASTDecl() argument 199 Mgr.getAnalysisDeclContext(D)); in checkASTDecl() 221 void ento::registerObjCSuperCallChecker(CheckerManager &Mgr) { in registerObjCSuperCallChecker() argument 222 Mgr.registerChecker<ObjCSuperCallChecker>(); in registerObjCSuperCallChecker()
|
D | Yaml.h | 28 llvm::Optional<T> getConfiguration(CheckerManager &Mgr, Checker *Chk, in getConfiguration() argument 38 Mgr.reportInvalidCheckerOptionValue(Chk, Option, in getConfiguration() 49 Mgr.reportInvalidCheckerOptionValue(Chk, Option, in getConfiguration()
|
D | ChrootChecker.cpp | 80 ProgramStateManager &Mgr = state->getStateManager(); in evalChroot() local 84 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in evalChroot() 90 ProgramStateManager &Mgr = state->getStateManager(); in evalChdir() local 106 state = Mgr.addGDM(state, ChrootChecker::getTag(), in evalChdir()
|
D | DirectIvarAssignment.cpp | 90 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr, 117 AnalysisManager& Mgr, in checkASTDecl() argument 128 Mgr.getASTContext()); in checkASTDecl() 141 AnalysisDeclContext *DCtx = Mgr.getAnalysisDeclContext(M); in checkASTDecl()
|
D | GenericTaintChecker.cpp | 84 ArgVector convertToArgVector(CheckerManager &Mgr, const std::string &Option, 88 void parseConfiguration(CheckerManager &Mgr, const std::string &Option, 360 GenericTaintChecker::convertToArgVector(CheckerManager &Mgr, in REGISTER_SET_WITH_PROGRAMSTATE() 369 Mgr.reportInvalidCheckerOptionValue( in REGISTER_SET_WITH_PROGRAMSTATE() 378 void GenericTaintChecker::parseConfiguration(CheckerManager &Mgr, in parseConfiguration() argument 386 convertToArgVector(Mgr, Option, P.DstArgs), in parseConfiguration() 942 void ento::registerGenericTaintChecker(CheckerManager &Mgr) { in registerGenericTaintChecker() argument 943 auto *Checker = Mgr.registerChecker<GenericTaintChecker>(); in registerGenericTaintChecker() 946 Mgr.getAnalyzerOptions().getCheckerStringOption(Checker, Option); in registerGenericTaintChecker() 948 getConfiguration<TaintConfig>(Mgr, Checker, Option, ConfigFile); in registerGenericTaintChecker() [all …]
|
D | STLAlgorithmModeling.cpp | 170 void ento::registerSTLAlgorithmModeling(CheckerManager &Mgr) { in registerSTLAlgorithmModeling() argument 171 auto *Checker = Mgr.registerChecker<STLAlgorithmModeling>(); in registerSTLAlgorithmModeling() 173 Mgr.getAnalyzerOptions().getCheckerBooleanOption(Checker, in registerSTLAlgorithmModeling()
|
D | OSObjectCStyleCast.cpp | 83 void ento::registerOSObjectCStyleCast(CheckerManager &Mgr) { in registerOSObjectCStyleCast() argument 84 Mgr.registerChecker<OSObjectCStyleCastChecker>(); in registerOSObjectCStyleCast()
|
D | PointerIterationChecker.cpp | 94 void ento::registerPointerIterationChecker(CheckerManager &Mgr) { in registerPointerIterationChecker() argument 95 Mgr.registerChecker<PointerIterationChecker>(); in registerPointerIterationChecker()
|
D | CXXSelfAssignmentChecker.cpp | 75 void ento::registerCXXSelfAssignmentChecker(CheckerManager &Mgr) { in registerCXXSelfAssignmentChecker() argument 76 Mgr.registerChecker<CXXSelfAssignmentChecker>(); in registerCXXSelfAssignmentChecker()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 108 std::unique_ptr<AnalysisManager> Mgr; member in __anon08a15a4d0111::AnalysisConsumer 183 SourceManager &SM = Mgr->getASTContext().getSourceManager(); in DisplayFunction() 214 Mgr = std::make_unique<AnalysisManager>(*Ctx, PP, PathConsumers, in Initialize() 259 checkerMgr->runCheckersOnASTDecl(D, *Mgr, *RecVisitorBR); in VisitDecl() 304 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitFunctionDecl() 312 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitObjCMethodDecl() 320 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitBlockDecl() 464 (Mgr->options.InliningMode == All ? nullptr : &VisitedCallees)); in HandleDeclsCallGraph() 486 BugReporter BR(*Mgr); in runAnalysisOnTranslationUnit() 490 checkerMgr->runCheckersOnASTDecl(TU, *Mgr, BR); in runAnalysisOnTranslationUnit() [all …]
|
D | CheckerRegistry.cpp | 196 const CheckerManager &Mgr, 203 const CheckerManager &Mgr, 206 void CheckerRegistry::initializeRegistry(const CheckerManager &Mgr) { in initializeRegistry() argument 213 return !Checker->isDisabled(Mgr); in initializeRegistry() 216 if (!Checker.isEnabled(Mgr)) in initializeRegistry() 220 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps, in initializeRegistry() 240 if (!Checker.isEnabled(Mgr)) in initializeRegistry() 245 collectWeakDependencies(Checker.WeakDependencies, Mgr, Deps, IsEnabled); in initializeRegistry() 247 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps, in initializeRegistry() 262 const CheckerManager &Mgr, in collectStrongDependencies() argument [all …]
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 179 std::unique_ptr<AnalysisManager> Mgr; member in __anonc8c8bf1f0211::AnalysisConsumer 251 SourceManager &SM = Mgr->getASTContext().getSourceManager(); in DisplayFunction() 294 Mgr = llvm::make_unique<AnalysisManager>( in Initialize() 340 checkerMgr->runCheckersOnASTDecl(D, *Mgr, *RecVisitorBR); in VisitDecl() 353 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitFunctionDecl() 361 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitObjCMethodDecl() 369 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitBlockDecl() 495 (Mgr->options.InliningMode == All ? nullptr : &VisitedCallees)); in HandleDeclsCallGraph() 522 BugReporter BR(*Mgr); in HandleTranslationUnit() 524 checkerMgr->runCheckersOnASTDecl(TU, *Mgr, BR); in HandleTranslationUnit() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ProgramState.cpp | 38 ProgramStateManager &Mgr = s->getStateManager(); in ProgramStateRelease() local 39 Mgr.StateSet.RemoveNode(s); in ProgramStateRelease() 41 Mgr.freeStates.push_back(s); in ProgramStateRelease() 121 ProgramStateManager &Mgr = getStateManager(); in bindLoc() local 122 ProgramStateRef newState = makeWithStore(Mgr.StoreMgr->Bind(getStore(), in bindLoc() 126 return Mgr.getOwningEngine().processRegionChange(newState, MR, LCtx); in bindLoc() 134 ProgramStateManager &Mgr = getStateManager(); in bindDefaultInitial() local 136 const StoreRef &newStore = Mgr.StoreMgr->BindDefaultInitial(getStore(), R, V); in bindDefaultInitial() 138 return Mgr.getOwningEngine().processRegionChange(new_state, R, LCtx); in bindDefaultInitial() 143 ProgramStateManager &Mgr = getStateManager(); in bindDefaultZero() local [all …]
|
D | CheckerContext.cpp | 105 ProgramStateManager &Mgr = State->getStateManager(); in evalComparison() local 107 LHSVal = Mgr.getStoreManager().getBinding(State->getStore(), in evalComparison() 113 SValBuilder &Bldr = Mgr.getSValBuilder(); in evalComparison()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ProgramState.cpp | 37 ProgramStateManager &Mgr = s->getStateManager(); in ProgramStateRelease() local 38 Mgr.StateSet.RemoveNode(s); in ProgramStateRelease() 40 Mgr.freeStates.push_back(s); in ProgramStateRelease() 115 ProgramStateManager &Mgr = getStateManager(); in bindLoc() local 116 ProgramStateRef newState = makeWithStore(Mgr.StoreMgr->Bind(getStore(), in bindLoc() 119 if (MR && Mgr.getOwningEngine() && notifyChanges) in bindLoc() 120 return Mgr.getOwningEngine()->processRegionChange(newState, MR); in bindLoc() 126 ProgramStateManager &Mgr = getStateManager(); in bindDefault() local 128 const StoreRef &newStore = Mgr.StoreMgr->BindDefault(getStore(), R, V); in bindDefault() 130 return Mgr.getOwningEngine() ? in bindDefault() [all …]
|
/external/llvm-project/clang/lib/Analysis/plugins/CheckerOptionHandling/ |
D | CheckerOptionHandling.cpp | 14 void registerMyChecker(CheckerManager &Mgr) { in registerMyChecker() argument 15 MyChecker *Checker = Mgr.registerChecker<MyChecker>(); in registerMyChecker() 17 << (Mgr.getAnalyzerOptions().getCheckerBooleanOption( in registerMyChecker()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCMissingSuperCallChecker.cpp | 70 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr, 167 AnalysisManager &Mgr, in checkASTDecl() argument 199 Mgr.getAnalysisDeclContext(D)); in checkASTDecl() 221 void ento::registerObjCSuperCallChecker(CheckerManager &Mgr) { in registerObjCSuperCallChecker() argument 222 Mgr.registerChecker<ObjCSuperCallChecker>(); in registerObjCSuperCallChecker()
|
D | ChrootChecker.cpp | 90 ProgramStateManager &Mgr = state->getStateManager(); in Chroot() local 94 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in Chroot() 100 ProgramStateManager &Mgr = state->getStateManager(); in Chdir() local 116 state = Mgr.addGDM(state, ChrootChecker::getTag(), in Chdir()
|
D | DirectIvarAssignment.cpp | 91 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr, 118 AnalysisManager& Mgr, in checkASTDecl() argument 129 Mgr.getASTContext()); in checkASTDecl() 142 AnalysisDeclContext *DCtx = Mgr.getAnalysisDeclContext(M); in checkASTDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | NoUncountedMembersChecker.cpp | 151 void ento::registerNoUncountedMemberChecker(CheckerManager &Mgr) { in registerNoUncountedMemberChecker() argument 152 Mgr.registerChecker<NoUncountedMemberChecker>(); in registerNoUncountedMemberChecker() 156 const CheckerManager &Mgr) { in shouldRegisterNoUncountedMemberChecker() argument
|
D | UncountedLambdaCapturesChecker.cpp | 100 void ento::registerUncountedLambdaCapturesChecker(CheckerManager &Mgr) { in registerUncountedLambdaCapturesChecker() argument 101 Mgr.registerChecker<UncountedLambdaCapturesChecker>(); in registerUncountedLambdaCapturesChecker()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/ |
D | PutenvWithAutoChecker.cpp | 62 void ento::registerPutenvWithAuto(CheckerManager &Mgr) { in registerPutenvWithAuto() argument 63 Mgr.registerChecker<PutenvWithAutoChecker>(); in registerPutenvWithAuto()
|