Home
last modified time | relevance | path

Searched refs:BugReport (Results 1 – 25 of 56) 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.h25 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/
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;
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()
DExprInspectionChecker.cpp110 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()
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()
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()
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()
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()
DTestAfterDivZeroChecker.cpp76 BugReport &BR) override;
100 BugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE()
174 auto R = llvm::make_unique<BugReport>( in reportBug()
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()
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()
DTaintTesterChecker.cpp53 auto report = llvm::make_unique<BugReport>(*BT, "tainted",N); in checkPostStmt()
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()
DSimpleStreamChecker.cpp219 auto R = llvm::make_unique<BugReport>(*DoubleCloseBugType, in reportDoubleClose()
232 auto R = llvm::make_unique<BugReport>(*LeakBugType, in reportLeaks()
DPointerArithChecker.cpp61 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DCastToStructChecker.cpp66 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DStackAddrEscapeChecker.cpp111 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()
DPointerSubChecker.cpp69 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DArrayBoundChecker.cpp79 auto report = llvm::make_unique<BugReport>(*BT, BT->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()
1267 static void reversePropagateInterestingSymbols(BugReport &R, in reversePropagateInterestingSymbols()
1566 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 std::unique_ptr<BugReport> report = in checkPreStmt()
41 llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()

123