Home
last modified time | relevance | path

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

12

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h25 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 …]
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 …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp39 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()
DPthreadLockChecker.cpp148 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()
DExprInspectionChecker.cpp100 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()
DCallAndMessageChecker.cpp97 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()
DMacOSKeychainAPIChecker.cpp106 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()
DObjCAtSyncChecker.cpp50 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()
DUnixAPIChecker.cpp86 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()
DStreamChecker.cpp280 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()
DTaintTesterChecker.cpp53 BugReport *report = new BugReport(*BT, "tainted",N); in checkPostStmt()
DUndefinedArraySubscriptChecker.cpp56 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
DFixedAddressChecker.cpp60 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
DNSAutoreleasePoolChecker.cpp71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when " in checkPreObjCMessage()
DStackAddrEscapeChecker.cpp111 BugReport *report = new BugReport(*BT_returnstack, os.str(), N); in EmitStackError()
234 BugReport *report = new BugReport(*BT_stackleak, os.str(), N); in checkEndFunction()
DSimpleStreamChecker.cpp217 BugReport *R = new BugReport(*DoubleCloseBugType, in reportDoubleClose()
230 BugReport *R = new BugReport(*LeakBugType, in reportLeaks()
DPointerArithChecker.cpp61 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
DCastToStructChecker.cpp66 BugReport *R = new BugReport(*BT,BT->getDescription(), N); in checkPreStmt()
DPointerSubChecker.cpp69 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
DArrayBoundChecker.cpp79 BugReport *report = in checkLocation()
80 new BugReport(*BT, BT->getDescription(), N); in checkLocation()
DReturnPointerRangeChecker.cpp83 BugReport *report = in checkPreStmt()
84 new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
DDereferenceChecker.cpp163 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/
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()
1269 static void reversePropagateInterestingSymbols(BugReport &R, in reversePropagateInterestingSymbols()
1568 BugReport *R = PDB.getBugReport(); in GenerateExtensivePathDiagnostic()
[all …]
DBugReporterVisitors.cpp105 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/
DMainCallChecker.cpp40 BugReport *report = new BugReport(*BT, BT->getName(), N); in checkPreStmt()

12