Home
last modified time | relevance | path

Searched refs:BugReport (Results 1 – 25 of 60) sorted by relevance

123

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h43 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 …]
DBugReporterVisitor.h26 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/
DNonNullParamChecker.cpp39 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()
DMacOSKeychainAPIChecker.cpp106 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()
DPthreadLockChecker.cpp148 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()
DCallAndMessageChecker.cpp104 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()
DDynamicTypeChecker.cpp55 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()
DObjCSuperDeallocChecker.cpp79 BugReport &BR) override;
197 std::unique_ptr<BugReport> BR( in reportUseAfterDealloc()
198 new BugReport(*DoubleSuperDeallocBugType, Desc, ErrNode)); in reportUseAfterDealloc()
255 BugReport &BR) { in VisitNode()
DObjCAtSyncChecker.cpp51 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()
DCheckObjCDealloc.cpp586 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()
DTestAfterDivZeroChecker.cpp76 BugReport &BR) override;
100 BugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE()
174 auto R = llvm::make_unique<BugReport>( in reportBug()
DStreamChecker.cpp280 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()
DUnixAPIChecker.cpp86 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()
DSimpleStreamChecker.cpp210 auto R = llvm::make_unique<BugReport>(*DoubleCloseBugType, in reportDoubleClose()
223 auto R = llvm::make_unique<BugReport>(*LeakBugType, in reportLeaks()
DStackAddrEscapeChecker.cpp111 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()
DDereferenceChecker.cpp177 auto report = llvm::make_unique<BugReport>( in reportBug()
199 llvm::make_unique<BugReport>(*BT_undef, BT_undef->getDescription(), N); in checkLocation()
DTaintTesterChecker.cpp53 auto report = llvm::make_unique<BugReport>(*BT, "tainted",N); in checkPostStmt()
DRetainCountChecker.cpp1767 BugReport &BR) override;
1771 BugReport &BR) override;
1782 BugReport &BR) override;
1794 class CFRefReport : public BugReport {
1801 : BugReport(D, D.getDescription(), n) { in CFRefReport()
1810 : BugReport(D, D.getDescription(), endText, n) { in CFRefReport()
1818 return BugReport::getRanges(); in getRanges()
1893 BugReport &BR) { in VisitNode()
2300 const ExplodedNode *EndN, BugReport &BR) { in getEndPath()
2307 const ExplodedNode *EndN, BugReport &BR) { in getEndPath()
[all …]
DNSAutoreleasePoolChecker.cpp71 auto Report = llvm::make_unique<BugReport>( in checkPreObjCMessage()
DFixedAddressChecker.cpp60 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DUndefinedArraySubscriptChecker.cpp56 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp156 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 …]
DBugReporterVisitors.cpp106 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/
DMPIBugReporter.cpp34 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/
DMainCallChecker.cpp40 std::unique_ptr<BugReport> report = in checkPreStmt()
41 llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()

123