/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 | 25 class BugReport; variable 64 BugReport &BR) = 0; 73 getEndPath(BugReporterContext &BRC, const ExplodedNode *N, BugReport &BR); 80 BugReport &BR); 111 static void registerStatementVarDecls(BugReport &BR, const Stmt *S, 126 BugReport &BR) override; 155 BugReport &BR) override; 177 BugReport &BR) override; 200 BugReport &BR) override; 205 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; 270 auto Report = llvm::make_unique<BugReport>(*BT, os.str(), N); in generateDeallocatorMismatchReport() 315 auto Report = llvm::make_unique<BugReport>(*BT, os.str(), N); in checkPreStmt() 371 auto Report = llvm::make_unique<BugReport>( in checkPreStmt() 437 auto Report = llvm::make_unique<BugReport>( in checkPreStmt() 520 std::unique_ptr<BugReport> 548 llvm::make_unique<BugReport>(*BT, os.str(), N, LocUsedForUniqueing, in generateAllocatedDataNotReleasedReport() 604 BugReport &BR) { in VisitNode()
|
D | ExprInspectionChecker.cpp | 110 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)); in analyzerEval() 122 C.emitReport(llvm::make_unique<BugReport>(*BT, "REACHABLE", N)); in analyzerWarnIfReached() 144 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)); in analyzerCheckInlined() 177 C.emitReport(llvm::make_unique<BugReport>(*BT, "SYMBOL DEAD", N)); in checkDeadSymbols()
|
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 | 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 | 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 | 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 | SimpleStreamChecker.cpp | 219 auto R = llvm::make_unique<BugReport>(*DoubleCloseBugType, in reportDoubleClose() 232 auto R = llvm::make_unique<BugReport>(*LeakBugType, in reportLeaks()
|
D | PointerArithChecker.cpp | 61 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | CastToStructChecker.cpp | 66 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | StackAddrEscapeChecker.cpp | 111 auto report = llvm::make_unique<BugReport>(*BT_returnstack, os.str(), N); in EmitStackError() 243 auto report = llvm::make_unique<BugReport>(*BT_stackleak, os.str(), N); in checkEndFunction()
|
D | PointerSubChecker.cpp | 69 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 | 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 std::unique_ptr<BugReport> report = in checkPreStmt() 41 llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()
|