/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporterVisitor.h | 25 class BugReport; variable 61 BugReport &BR) = 0; 70 getEndPath(BugReporterContext &BRC, const ExplodedNode *N, BugReport &BR); 77 BugReport &BR); 109 static void registerStatementVarDecls(BugReport &BR, const Stmt *S, 124 BugReport &BR) override; 154 BugReport &BR) override; 176 BugReport &BR) override; 198 BugReport &BR) override; 203 BugReport &BR); [all …]
|
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 …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NonNullParamChecker.cpp | 39 BugReport *genReportNullAttrNonNull(const ExplodedNode *ErrorN, 41 BugReport *genReportReferenceToNullPointer(const ExplodedNode *ErrorN, 146 BugReport *R = nullptr; in checkPreCall() 174 BugReport *NonNullParamChecker::genReportNullAttrNonNull( in genReportNullAttrNonNull() 183 BugReport *R = new BugReport(*BTAttrNonNull, in genReportNullAttrNonNull() 192 BugReport *NonNullParamChecker::genReportReferenceToNullPointer( in genReportReferenceToNullPointer() 197 BugReport *R = new BugReport(*BTNullRefArg, in genReportReferenceToNullPointer()
|
D | PthreadLockChecker.cpp | 148 BugReport *report = new BugReport(*BT_doublelock, in AcquireLock() 211 BugReport *Report = new BugReport(*BT_doubleunlock, in ReleaseLock() 235 BugReport *report = new BugReport(*BT_lor, in ReleaseLock() 282 BugReport *Report = new BugReport(*BT_destroylock, Message, N); in DestroyLock() 317 BugReport *Report = new BugReport(*BT_initlock, Message, N); in InitLock() 330 BugReport *Report = new BugReport(*BT_destroylock, in reportUseDestroyedBug()
|
D | ExprInspectionChecker.cpp | 100 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerEval() 111 BugReport *R = new BugReport(*BT, "REACHABLE", N); in analyzerWarnIfReached() 131 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerCheckInlined()
|
D | CallAndMessageChecker.cpp | 97 BugReport *R = new BugReport(*BT, BT->getName(), N); in emitBadCall() 167 BugReport *R = new BugReport(*BT, Message, N); in uninitRefOrPointer() 202 BugReport *R = new BugReport(*BT, Desc, N); in PreVisitProcessArg() 284 BugReport *R = new BugReport(*BT, os.str(), N); in PreVisitProcessArg() 345 BugReport *R = new BugReport(*BT, Desc, N); in checkPreStmt() 403 BugReport *R = new BugReport(*BT_call_few_args, os.str(), N); in checkPreCall() 464 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreObjCMessage() 515 BugReport *report = new BugReport(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
|
D | MacOSKeychainAPIChecker.cpp | 106 BugReport *generateAllocatedDataNotReleasedReport(const AllocationPair &AP, 124 void markInteresting(BugReport *R, const AllocationPair &AP) const { in markInteresting() 151 BugReport &BR) override; 272 BugReport *Report = new BugReport(*BT, os.str(), N); in generateDeallocatorMismatchReport() 317 BugReport *Report = new BugReport(*BT, os.str(), N); in checkPreStmt() 373 BugReport *Report = new BugReport(*BT, in checkPreStmt() 439 BugReport *Report = new BugReport(*BT, in checkPreStmt() 522 BugReport *MacOSKeychainAPIChecker:: 550 BugReport *Report = new BugReport(*BT, os.str(), N, LocUsedForUniqueing, in generateAllocatedDataNotReleasedReport() 606 BugReport &BR) { in VisitNode()
|
D | ObjCAtSyncChecker.cpp | 50 BugReport *report = in checkPreStmt() 51 new BugReport(*BT_undef, BT_undef->getDescription(), N); in checkPreStmt() 74 BugReport *report = in checkPreStmt() 75 new BugReport(*BT_null, BT_null->getDescription(), N); in checkPreStmt()
|
D | UnixAPIChecker.cpp | 86 BugReport *Report = new BugReport(*BT_open, Msg, N); in ReportOpenBug() 203 BugReport *report = new BugReport(*BT_pthreadOnce, os.str(), N); in CheckPthreadOnce() 244 BugReport *report = new BugReport(*BT_mallocZero, os.str(), N); in ReportZeroByteAllocation()
|
D | StreamChecker.cpp | 280 BugReport *R = new BugReport(*BT_illegalwhence, in Fseek() 357 BugReport *R =new BugReport(*BT_nullfp, BT_nullfp->getDescription(), N); in CheckNullStream() 388 BugReport *R = new BugReport(*BT_doubleclose, in CheckDoubleClose() 417 BugReport *R = new BugReport(*BT_ResourceLeak, in checkDeadSymbols()
|
D | TaintTesterChecker.cpp | 53 BugReport *report = new BugReport(*BT, "tainted",N); in checkPostStmt()
|
D | UndefinedArraySubscriptChecker.cpp | 56 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|
D | FixedAddressChecker.cpp | 60 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | NSAutoreleasePoolChecker.cpp | 71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when " in checkPreObjCMessage()
|
D | StackAddrEscapeChecker.cpp | 111 BugReport *report = new BugReport(*BT_returnstack, os.str(), N); in EmitStackError() 234 BugReport *report = new BugReport(*BT_stackleak, os.str(), N); in checkEndFunction()
|
D | SimpleStreamChecker.cpp | 217 BugReport *R = new BugReport(*DoubleCloseBugType, in reportDoubleClose() 230 BugReport *R = new BugReport(*LeakBugType, in reportLeaks()
|
D | PointerArithChecker.cpp | 61 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | CastToStructChecker.cpp | 66 BugReport *R = new BugReport(*BT,BT->getDescription(), N); in checkPreStmt()
|
D | PointerSubChecker.cpp | 69 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | ArrayBoundChecker.cpp | 79 BugReport *report = in checkLocation() 80 new BugReport(*BT, BT->getDescription(), N); in checkLocation()
|
D | ReturnPointerRangeChecker.cpp | 83 BugReport *report = in checkPreStmt() 84 new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | DereferenceChecker.cpp | 163 BugReport *report = in reportBug() 164 new BugReport(*BT_null, in reportBug() 186 BugReport *report = in checkLocation() 187 new BugReport(*BT_undef, BT_undef->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() 1269 static void reversePropagateInterestingSymbols(BugReport &R, in reversePropagateInterestingSymbols() 1568 BugReport *R = PDB.getBugReport(); in GenerateExtensivePathDiagnostic() [all …]
|
D | BugReporterVisitors.cpp | 105 const ExplodedNode *EndPathNode, BugReport &BR) { in getEndPath() 110 BugReporterContext &BRC, const ExplodedNode *EndPathNode, BugReport &BR) { in getDefaultEndPath() 168 BugReport &BR, in addVisitorIfNecessary() 233 BugReport &BR) { in visitNodeInitial() 332 BugReport &BR) { in visitNodeMaybeUnsuppress() 385 BugReport &BR) override { in VisitNode() 400 BugReport &BR) override { in getEndPath() 449 BugReport &BR) { in VisitNode() 730 BugReport &BR) { in VisitNode() 810 BugReport &BR) { in VisitNode() [all …]
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 40 BugReport *report = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|