/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 43 class BugReport; variable 55 class BugReport : public llvm::ilist_node<BugReport> { 146 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode) in BugReport() function 150 BugReport(BugType& bt, StringRef shortDesc, StringRef desc, in BugReport() function 156 BugReport(BugType &bt, StringRef desc, PathDiagnosticLocation l) in BugReport() function 167 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode, in BugReport() function 175 virtual ~BugReport(); 318 template<> struct ilist_traits<clang::ento::BugReport> 319 : public ilist_default_traits<clang::ento::BugReport> { 320 clang::ento::BugReport *createSentinel() const { [all …]
|
D | BugReporterVisitor.h | 26 class BugReport; variable 65 BugReport &BR) = 0; 74 getEndPath(BugReporterContext &BRC, const ExplodedNode *N, BugReport &BR); 81 BugReport &BR); 112 static void registerStatementVarDecls(BugReport &BR, const Stmt *S, 127 BugReport &BR) override; 156 BugReport &BR) override; 178 BugReport &BR) override; 201 BugReport &BR) override; 206 BugReport &BR); [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NonNullParamChecker.cpp | 39 std::unique_ptr<BugReport> 41 std::unique_ptr<BugReport> 148 std::unique_ptr<BugReport> R; in checkPreCall() 183 std::unique_ptr<BugReport> 193 auto R = llvm::make_unique<BugReport>( in genReportNullAttrNonNull() 202 std::unique_ptr<BugReport> NonNullParamChecker::genReportReferenceToNullPointer( in genReportReferenceToNullPointer() 207 auto R = llvm::make_unique<BugReport>( in genReportReferenceToNullPointer()
|
D | MacOSKeychainAPIChecker.cpp | 106 std::unique_ptr<BugReport> generateAllocatedDataNotReleasedReport( 123 void markInteresting(BugReport *R, const AllocationPair &AP) const { in markInteresting() 149 BugReport &BR) override; 262 auto Report = llvm::make_unique<BugReport>(*BT, os.str(), N); in generateDeallocatorMismatchReport() 307 auto Report = llvm::make_unique<BugReport>(*BT, os.str(), N); in checkPreStmt() 363 auto Report = llvm::make_unique<BugReport>( in checkPreStmt() 429 auto Report = llvm::make_unique<BugReport>( in checkPreStmt() 512 std::unique_ptr<BugReport> 540 llvm::make_unique<BugReport>(*BT, os.str(), N, LocUsedForUniqueing, in generateAllocatedDataNotReleasedReport() 596 BugReport &BR) { in VisitNode()
|
D | PthreadLockChecker.cpp | 148 auto report = llvm::make_unique<BugReport>( in AcquireLock() 210 auto Report = llvm::make_unique<BugReport>( in ReleaseLock() 233 auto report = llvm::make_unique<BugReport>( in ReleaseLock() 278 auto Report = llvm::make_unique<BugReport>(*BT_destroylock, Message, N); in DestroyLock() 313 auto Report = llvm::make_unique<BugReport>(*BT_initlock, Message, N); in InitLock() 326 auto Report = llvm::make_unique<BugReport>( in reportUseDestroyedBug()
|
D | DynamicTypeChecker.cpp | 55 BugReport &BR) override; 86 std::unique_ptr<BugReport> R( in reportTypeError() 87 new BugReport(*BT, OS.str(), C.generateNonFatalErrorNode())); in reportTypeError() 96 BugReport &BR) { in VisitNode()
|
D | CallAndMessageChecker.cpp | 104 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in emitBadCall() 174 auto R = llvm::make_unique<BugReport>(*BT, Message, N); in uninitRefOrPointer() 209 auto R = llvm::make_unique<BugReport>(*BT, Desc, N); in PreVisitProcessArg() 291 auto R = llvm::make_unique<BugReport>(*BT, os.str(), N); in PreVisitProcessArg() 352 auto R = llvm::make_unique<BugReport>(*BT, Desc, N); in checkPreStmt() 411 llvm::make_unique<BugReport>(*BT_call_few_args, os.str(), N)); in checkPreCall() 471 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreObjCMessage() 514 auto report = llvm::make_unique<BugReport>(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
|
D | ObjCSuperDeallocChecker.cpp | 79 BugReport &BR) override; 197 std::unique_ptr<BugReport> BR( in reportUseAfterDealloc() 198 new BugReport(*DoubleSuperDeallocBugType, Desc, ErrNode)); in reportUseAfterDealloc() 255 BugReport &BR) { in VisitNode()
|
D | ObjCAtSyncChecker.cpp | 51 llvm::make_unique<BugReport>(*BT_undef, BT_undef->getDescription(), N); in checkPreStmt() 75 llvm::make_unique<BugReport>(*BT_null, BT_null->getDescription(), N); in checkPreStmt()
|
D | TestAfterDivZeroChecker.cpp | 76 BugReport &BR) override; 100 BugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE() 174 auto R = llvm::make_unique<BugReport>( in reportBug()
|
D | CheckObjCDealloc.cpp | 586 std::unique_ptr<BugReport> BR( in diagnoseMissingReleases() 587 new BugReport(*MissingReleaseBugType, OS.str(), ErrNode)); in diagnoseMissingReleases() 709 std::unique_ptr<BugReport> BR( in diagnoseExtraRelease() 710 new BugReport(*ExtraReleaseBugType, OS.str(), ErrNode)); in diagnoseExtraRelease() 747 std::unique_ptr<BugReport> BR( in diagnoseMistakenDealloc() 748 new BugReport(*MistakenDeallocBugType, OS.str(), ErrNode)); in diagnoseMistakenDealloc()
|
D | UnixAPIChecker.cpp | 86 auto Report = llvm::make_unique<BugReport>(*BT_open, Msg, N); in ReportOpenBug() 203 auto report = llvm::make_unique<BugReport>(*BT_pthreadOnce, os.str(), N); in CheckPthreadOnce() 244 auto report = llvm::make_unique<BugReport>(*BT_mallocZero, os.str(), N); in ReportZeroByteAllocation()
|
D | StreamChecker.cpp | 280 C.emitReport(llvm::make_unique<BugReport>( in Fseek() 356 C.emitReport(llvm::make_unique<BugReport>( in CheckNullStream() 387 C.emitReport(llvm::make_unique<BugReport>( in CheckDoubleClose() 415 C.emitReport(llvm::make_unique<BugReport>( in checkDeadSymbols()
|
D | TaintTesterChecker.cpp | 53 auto report = llvm::make_unique<BugReport>(*BT, "tainted",N); in checkPostStmt()
|
D | SimpleStreamChecker.cpp | 210 auto R = llvm::make_unique<BugReport>(*DoubleCloseBugType, in reportDoubleClose() 223 auto R = llvm::make_unique<BugReport>(*LeakBugType, in reportLeaks()
|
D | NSAutoreleasePoolChecker.cpp | 71 auto Report = llvm::make_unique<BugReport>( in checkPreObjCMessage()
|
D | FixedAddressChecker.cpp | 60 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | UndefinedArraySubscriptChecker.cpp | 56 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()
|
D | StackAddrEscapeChecker.cpp | 111 auto report = llvm::make_unique<BugReport>(*BT_returnstack, os.str(), N); in EmitStackError() 248 auto report = llvm::make_unique<BugReport>(*BT_stackleak, os.str(), N); in checkEndFunction()
|
D | CastToStructChecker.cpp | 66 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | ArrayBoundChecker.cpp | 79 auto report = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkLocation()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 156 static bool removeUnneededCalls(PathPieces &pieces, BugReport *R, in removeUnneededCalls() 310 class NodeMapClosure : public BugReport::NodeResolver { 321 BugReport *R; 328 BugReport *r, InterExplodedGraphMap &Backmap, in PathDiagnosticBuilder() 339 BugReport *getBugReport() { return R; } in getBugReport() 511 BugReport *R = PDB.getBugReport(); in GenerateVisitorsOnlyPathDiagnostic() 868 BugReport *R = PDB.getBugReport(); in GenerateMinimalPathDiagnostic() 1237 static void reversePropagateIntererstingSymbols(BugReport &R, in reversePropagateIntererstingSymbols() 1267 static void reversePropagateInterestingSymbols(BugReport &R, in reversePropagateInterestingSymbols() 1566 BugReport *R = PDB.getBugReport(); in GenerateExtensivePathDiagnostic() [all …]
|
D | BugReporterVisitors.cpp | 106 const ExplodedNode *EndPathNode, BugReport &BR) { in getEndPath() 111 BugReporterContext &BRC, const ExplodedNode *EndPathNode, BugReport &BR) { in getDefaultEndPath() 169 BugReport &BR, in addVisitorIfNecessary() 234 BugReport &BR) { in visitNodeInitial() 336 BugReport &BR) { in visitNodeMaybeUnsuppress() 389 BugReport &BR) override { in VisitNode() 404 BugReport &BR) override { in getEndPath() 453 BugReport &BR) { in VisitNode() 734 BugReport &BR) { in VisitNode() 814 BugReport &BR) { in VisitNode() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
D | MPIBugReporter.cpp | 34 auto Report = llvm::make_unique<BugReport>(*DoubleNonblockingBugType, in reportDoubleNonblocking() 58 llvm::make_unique<BugReport>(*MissingWaitBugType, ErrorText, ExplNode); in reportMissingWait() 78 llvm::make_unique<BugReport>(*UnmatchedWaitBugType, ErrorText, ExplNode); in reportUnmatchedWait() 90 BugReport &BR) { in VisitNode()
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 40 std::unique_ptr<BugReport> report = in checkPreStmt() 41 llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()
|