Home
last modified time | relevance | path

Searched refs:PathSensitiveBugReport (Results 1 – 25 of 86) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h36 class PathSensitiveBugReport; variable
63 PathSensitiveBugReport &BR) = 0;
69 PathSensitiveBugReport &BR);
78 PathSensitiveBugReport &BR);
85 const PathSensitiveBugReport &BR);
115 PathSensitiveBugReport &R,
161 PathSensitiveBugReport &BR) override;
187 PathSensitiveBugReport &BR) override;
205 PathSensitiveBugReport &BR) override;
232 PathSensitiveBugReport &BR) override;
[all …]
H A DBugReporter.h291 class PathSensitiveBugReport : public BugReport {
371 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function
373 : PathSensitiveBugReport(bt, desc, desc, errorNode) {} in PathSensitiveBugReport()
375 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc, in PathSensitiveBugReport() function
377 : PathSensitiveBugReport(bt, shortDesc, desc, errorNode, in PathSensitiveBugReport()
388 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function
392 : PathSensitiveBugReport(bt, desc, desc, errorNode, LocationToUnique, in PathSensitiveBugReport()
395 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc,
688 ArrayRef<PathSensitiveBugReport *> &bugReports);
730 PathSensitiveBugReport &)>;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp139 const PathSensitiveBugReport *R);
210 const PathSensitiveBugReport *R;
223 findValidReport(ArrayRef<PathSensitiveBugReport *> &bugReports,
228 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode,
272 const PathSensitiveBugReport *getBugReport() const { return R; } in getBugReport()
423 const PathSensitiveBugReport *R, in removeUnneededCalls()
1325 generateEmptyDiagnosticForReport(const PathSensitiveBugReport *R, in generateEmptyDiagnosticForReport()
1970 const PathSensitiveBugReport *R) in PathDiagnosticConstruct()
1979 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder()
2129 PathSensitiveBugReport::PathSensitiveBugReport( in PathSensitiveBugReport() function in PathSensitiveBugReport
[all …]
H A DBugReporterVisitors.cpp239 const PathSensitiveBugReport *B) { in isVarAnInterestingCondition()
254 const PathSensitiveBugReport *B) { in isInterestingExpr()
320 PathSensitiveBugReport &) { in getEndPath() argument
326 PathSensitiveBugReport &) {} in finalizeVisitor() argument
331 const PathSensitiveBugReport &BR) { in getDefaultEndPath()
399 PathSensitiveBugReport &R) override;
433 maybeEmitNote(PathSensitiveBugReport &R, const CallEvent &Call,
567 PathSensitiveBugReport &R) { in VisitNode()
679 PathSensitiveBugReport &R, const CallEvent &Call, const ExplodedNode *N, in maybeEmitNote()
826 PathSensitiveBugReport &BR) override { in VisitNode()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIBugReporter.cpp33 auto Report = std::make_unique<PathSensitiveBugReport>( in reportDoubleNonblocking()
56 auto Report = std::make_unique<PathSensitiveBugReport>(*MissingWaitBugType, in reportMissingWait()
76 auto Report = std::make_unique<PathSensitiveBugReport>(*UnmatchedWaitBugType, in reportUnmatchedWait()
90 PathSensitiveBugReport &BR) { in VisitNode()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp41 std::unique_ptr<PathSensitiveBugReport>
44 std::unique_ptr<PathSensitiveBugReport>
277 std::unique_ptr<PathSensitiveBugReport>
295 std::make_unique<PathSensitiveBugReport>(*BTAttrNonNull, SBuf, ErrorNode); in genReportNullAttrNonNull()
302 std::unique_ptr<PathSensitiveBugReport>
308 auto R = std::make_unique<PathSensitiveBugReport>( in genReportReferenceToNullPointer()
H A DSmartPtrModeling.cpp230 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall()
247 ArgVal](PathSensitiveBugReport &BR, in evalCall()
349 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset()
384 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease()
424 State, C.getNoteTag([ThisRegion, ArgRegion](PathSensitiveBugReport &BR, in handleSwap()
485 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp()
523 PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in updateMovedSmartPointers()
546 ThisRegion](PathSensitiveBugReport &BR, in updateMovedSmartPointers()
614 [ThisRegion](PathSensitiveBugReport &BR, in handleBoolConversion()
627 [ThisRegion](PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in handleBoolConversion()
H A DMacOSKeychainAPIChecker.cpp116 std::unique_ptr<PathSensitiveBugReport>
122 void markInteresting(PathSensitiveBugReport *R, in markInteresting()
147 PathSensitiveBugReport &BR) override;
242 auto Report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in generateDeallocatorMismatchReport()
287 std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPreStmt()
341 auto Report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
472 std::unique_ptr<PathSensitiveBugReport>
494 auto Report = std::make_unique<PathSensitiveBugReport>( in generateAllocatedDataNotReleasedReport()
623 PathSensitiveBugReport &BR) { in VisitNode()
H A DDeleteWithNonVirtualDtorChecker.cpp50 PathSensitiveBugReport &BR) override;
97 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
108 PathSensitiveBugReport &BR) { in VisitNode()
H A DFuchsiaHandleChecker.cpp386 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall()
402 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall()
436 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall()
450 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall()
464 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall()
489 PathSensitiveBugReport &BR) -> std::string { in checkPostCall()
655 std::unique_ptr<PathSensitiveBugReport> R; in reportBug()
664 R = std::make_unique<PathSensitiveBugReport>( in reportBug()
670 R = std::make_unique<PathSensitiveBugReport>(Type, Msg, ErrorNode); in reportBug()
H A DCallAndMessageChecker.cpp142 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall()
225 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in uninitRefOrPointer()
306 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in PreVisitProcessArg()
353 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in PreVisitProcessArg()
439 std::make_unique<PathSensitiveBugReport>(*BT_call_few_args, os.str(), N)); in checkParameterCount()
504 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Desc, N); in checkCXXDeallocation()
610 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreObjCMessage()
658 std::make_unique<PathSensitiveBugReport>(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
H A DDynamicTypeChecker.cpp52 PathSensitiveBugReport &BR) override;
83 auto R = std::make_unique<PathSensitiveBugReport>( in reportTypeError()
92 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) { in VisitNode() argument
H A DObjCAtSyncChecker.cpp49 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
73 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
H A DValistChecker.cpp82 PathSensitiveBugReport &BR) override { in getEndPath()
93 PathSensitiveBugReport &BR) override;
258 auto R = std::make_unique<PathSensitiveBugReport>(*BT_uninitaccess, Msg, N); in reportUninitializedAccess()
299 auto R = std::make_unique<PathSensitiveBugReport>( in reportLeakedVALists()
379 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) { in VisitNode() argument
H A DCXXSelfAssignmentChecker.cpp56 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
66 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
H A DStreamChecker.cpp370 std::string operator()(PathSensitiveBugReport &BR) const { in operator ()()
830 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamNonNull()
855 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened()
871 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened()
911 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate()
921 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate()
942 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureFseekWhenceCorrect()
956 C.emitReport(std::make_unique<PathSensitiveBugReport>( in reportFEofWarning()
992 std::unique_ptr<PathSensitiveBugReport> R = in reportLeaks()
993 std::make_unique<PathSensitiveBugReport>( in reportLeaks()
H A DObjCSuperDeallocChecker.cpp74 PathSensitiveBugReport &BR) override;
191 auto BR = std::make_unique<PathSensitiveBugReport>(*DoubleSuperDeallocBugType, in reportUseAfterDealloc()
249 PathSensitiveBugReport &) { in VisitNode() argument
H A DStackAddrEscapeChecker.cpp168 std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N); in EmitStackError()
206 auto Report = std::make_unique<PathSensitiveBugReport>( in checkAsyncExecutedBlockCaptures()
230 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_capturedstackret, in checkReturnedBlockCaptures()
361 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction()
H A DDebugContainerModeling.cpp101 [Cont, Field](PathSensitiveBugReport &BR) -> std::string { in analyzerContainerDataField()
139 BR.emitReport(std::make_unique<PathSensitiveBugReport>(*DebugMsgBugType, in reportDebugMsg()
H A DTestAfterDivZeroChecker.cpp74 PathSensitiveBugReport &BR) override;
97 PathSensitiveBugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE()
170 auto R = std::make_unique<PathSensitiveBugReport>( in reportBug()
H A DMIGChecker.cpp214 C.getNoteTag([this, PVD](PathSensitiveBugReport &BR) -> std::string { in checkPostCall()
279 auto R = std::make_unique<PathSensitiveBugReport>( in checkReturnAux()
H A DUnixAPIChecker.cpp139 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_open, Msg, N); in ReportOpenBug()
309 std::make_unique<PathSensitiveBugReport>(*BT_pthreadOnce, os.str(), N); in CheckPthreadOnce()
353 std::make_unique<PathSensitiveBugReport>(*BT_mallocZero, os.str(), N); in ReportZeroByteAllocation()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h269 *getNoteTag(std::function<std::string(PathSensitiveBugReport &)> &&Cb,
273 PathSensitiveBugReport &BR) { return Cb(BR); },
287 PathSensitiveBugReport &) { return Cb(); },
300 PathSensitiveBugReport &) { return std::string(Note); },
312 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb,
315 [Cb](PathSensitiveBugReport &BR) -> std::string {
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h49 class RefCountReport : public PathSensitiveBugReport {
65 return PathSensitiveBugReport::getRanges(); in getRanges()
95 return PathSensitiveBugReport::getLocation(); in getEndOfPath()
H A DRetainCountDiagnostics.cpp333 PathSensitiveBugReport &BR) override;
337 PathSensitiveBugReport &BR) override;
347 PathSensitiveBugReport &BR) override;
460 PathSensitiveBugReport &BR) { in VisitNode()
759 PathSensitiveBugReport &BR) { in getEndPath()
767 PathSensitiveBugReport &BR) { in getEndPath()
846 : PathSensitiveBugReport(D, D.getDescription(), n), Sym(sym), in RefCountReport()
855 : PathSensitiveBugReport(D, D.getDescription(), endText, n) { in RefCountReport()

1234