| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 41 class PathSensitiveBugReport; variable 80 PathSensitiveBugReport &BR); 96 const PathSensitiveBugReport &BR); 178 PathSensitiveBugReport &Report; 184 Tracker(PathSensitiveBugReport &Report); 189 static TrackerRef create(PathSensitiveBugReport &Report) { in create() 193 PathSensitiveBugReport &getReport() { return Report; } in getReport() 544 PathSensitiveBugReport &BR) override; 617 PathSensitiveBugReport &BR) override; 712 maybeEmitNoteForObjCSelf(PathSensitiveBugReport &R, [all …]
|
| H A D | BugReporter.h | 289 class PathSensitiveBugReport : public BugReport { 369 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function 371 : PathSensitiveBugReport(bt, desc, desc, errorNode) {} in PathSensitiveBugReport() 373 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc, in PathSensitiveBugReport() function 375 : PathSensitiveBugReport(bt, shortDesc, desc, errorNode, in PathSensitiveBugReport() 386 PathSensitiveBugReport(const BugType &bt, StringRef desc, in PathSensitiveBugReport() function 390 : PathSensitiveBugReport(bt, desc, desc, errorNode, LocationToUnique, in PathSensitiveBugReport() 393 PathSensitiveBugReport(const BugType &bt, StringRef shortDesc, StringRef desc, 699 ArrayRef<PathSensitiveBugReport *> &bugReports); 770 PathSensitiveBugReport &)>; [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 33 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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 215 const PathSensitiveBugReport *R; 1979 const PathSensitiveBugReport *R) in PathDiagnosticConstruct() 2129 PathSensitiveBugReport::PathSensitiveBugReport( in PathSensitiveBugReport() function in PathSensitiveBugReport 2155 void PathSensitiveBugReport::addVisitor( in addVisitor() 2171 void PathSensitiveBugReport::clearVisitors() { in clearVisitors() 2400 PathSensitiveBugReport::getRanges() const { in getRanges() 2410 PathSensitiveBugReport::getLocation() const { in getLocation() 2505 PathSensitiveBugReport *Report; 2777 PathSensitiveBugReport::VisitorList visitors; in generateVisitorsDiagnostics() 2828 ArrayRef<PathSensitiveBugReport *> &bugReports, in findValidReport() [all …]
|
| H A D | BugReporterVisitors.cpp | 285 const PathSensitiveBugReport *B) { in isInterestingExpr() 592 maybeEmitNote(PathSensitiveBugReport &R, const CallEvent &Call, 1210 PathSensitiveBugReport &BR) override { in finalizeVisitor() 2722 PathSensitiveBugReport &BR) { in VisitNode() 2767 PathSensitiveBugReport &BR) { in VisitNode() 2780 PathSensitiveBugReport &BR) { in VisitNodeImpl() 2818 const CFGBlock *dstBlk, PathSensitiveBugReport &R, in VisitTerminator() 2876 PathSensitiveBugReport &R, in VisitTrueTest() 3301 PathSensitiveBugReport &BR) { in finalizeVisitor() 3388 PathSensitiveBugReport &BR) { in VisitNode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonNullParamChecker.cpp | 43 std::unique_ptr<PathSensitiveBugReport> 46 std::unique_ptr<PathSensitiveBugReport> 279 std::unique_ptr<PathSensitiveBugReport> 290 std::make_unique<PathSensitiveBugReport>(BTAttrNonNull, SBuf, ErrorNode); in genReportNullAttrNonNull() 297 std::unique_ptr<PathSensitiveBugReport> 300 auto R = std::make_unique<PathSensitiveBugReport>( in genReportReferenceToNullPointer()
|
| H A D | MacOSKeychainAPIChecker.cpp | 113 std::unique_ptr<PathSensitiveBugReport> 119 void markInteresting(PathSensitiveBugReport *R, in markInteresting() 144 PathSensitiveBugReport &BR) override; 237 auto Report = std::make_unique<PathSensitiveBugReport>(BT, os.str(), N); in generateDeallocatorMismatchReport() 280 auto Report = std::make_unique<PathSensitiveBugReport>(BT, os.str(), N); in checkPreStmt() 333 auto Report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 464 std::unique_ptr<PathSensitiveBugReport> 485 auto Report = std::make_unique<PathSensitiveBugReport>( in generateAllocatedDataNotReleasedReport() 614 PathSensitiveBugReport &BR) { in VisitNode()
|
| H A D | CXXDeleteChecker.cpp | 56 PathSensitiveBugReport &BR) override; 132 auto R = std::make_unique<PathSensitiveBugReport>(BT, BT.getDescription(), N); in checkTypedDeleteExpr() 175 auto R = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkTypedDeleteExpr() 186 PathSensitiveBugReport &BR) { in VisitNode()
|
| H A D | FuchsiaHandleChecker.cpp | 383 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 399 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 433 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 447 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 461 auto *PathBR = static_cast<PathSensitiveBugReport *>(&BR); in checkPostCall() 486 PathSensitiveBugReport &BR) -> std::string { in checkPostCall() 652 std::unique_ptr<PathSensitiveBugReport> R; in reportBug() 662 R = std::make_unique<PathSensitiveBugReport>( in reportBug() 668 R = std::make_unique<PathSensitiveBugReport>(Type, Msg, ErrorNode); in reportBug()
|
| H A D | ObjCAtSyncChecker.cpp | 48 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 68 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt()
|
| H A D | CXXSelfAssignmentChecker.cpp | 56 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction() 66 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
|
| H A D | StringChecker.cpp | 80 const auto Callback = [Param](PathSensitiveBugReport &BR) -> std::string { in checkPreCall() 92 auto R = std::make_unique<PathSensitiveBugReport>( in checkPreCall()
|
| H A D | CallAndMessageChecker.cpp | 141 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall() 224 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in uninitRefOrPointer() 305 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N); in PreVisitProcessArg() 352 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in PreVisitProcessArg() 438 std::make_unique<PathSensitiveBugReport>(*BT_call_few_args, os.str(), N)); in checkParameterCount() 503 std::make_unique<PathSensitiveBugReport>(*BT_cxx_delete_undef, Desc, N); in checkCXXDeallocation() 609 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreObjCMessage() 657 std::make_unique<PathSensitiveBugReport>(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
|
| H A D | DynamicTypeChecker.cpp | 47 PathSensitiveBugReport &BR) override; 77 auto R = std::make_unique<PathSensitiveBugReport>( in reportTypeError() 86 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | SmartPtrModeling.cpp | 394 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall() 411 ArgVal](PathSensitiveBugReport &BR, in evalCall() 614 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset() 650 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease() 692 PathSensitiveBugReport &BR, in handleSwap() 755 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp() 795 PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in updateMovedSmartPointers() 819 ThisRegion](PathSensitiveBugReport &BR, in updateMovedSmartPointers() 889 [ThisRegion](PathSensitiveBugReport &BR, in handleBoolConversion() 902 [ThisRegion](PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in handleBoolConversion()
|
| H A D | ValistChecker.cpp | 83 PathSensitiveBugReport &BR) override { in getEndPath() 94 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 D | StackAddrEscapeChecker.cpp | 166 std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N); in EmitStackError() 204 auto Report = std::make_unique<PathSensitiveBugReport>( in checkAsyncExecutedBlockCaptures() 228 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_capturedstackret, in checkReturnedBlockCaptures() 386 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction() 416 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction()
|
| H A D | ObjCSuperDeallocChecker.cpp | 75 PathSensitiveBugReport &BR) override; 192 auto BR = std::make_unique<PathSensitiveBugReport>(DoubleSuperDeallocBugType, in reportUseAfterDealloc() 242 PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | DebugContainerModeling.cpp | 95 [Cont, Field](PathSensitiveBugReport &BR) -> std::string { in analyzerContainerDataField() 134 std::make_unique<PathSensitiveBugReport>(DebugMsgBugType, Msg, N)); in reportDebugMsg()
|
| H A D | DivZeroChecker.cpp | 52 auto R = std::make_unique<PathSensitiveBugReport>(BT, Msg, N); in reportBug() 62 auto R = std::make_unique<PathSensitiveBugReport>(TaintBT, Msg, N); in reportTaintBug()
|
| H A D | TestAfterDivZeroChecker.cpp | 75 PathSensitiveBugReport &BR) override; 98 PathSensitiveBugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE() 168 auto R = std::make_unique<PathSensitiveBugReport>( in reportBug()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 289 *getNoteTag(std::function<std::string(PathSensitiveBugReport &)> &&Cb, 293 PathSensitiveBugReport &BR) { return Cb(BR); }, 307 PathSensitiveBugReport &) { return Cb(); }, 320 PathSensitiveBugReport &) { return Note; }, 332 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb, 335 [Cb](PathSensitiveBugReport &BR) -> std::string {
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.h | 49 class RefCountReport : public PathSensitiveBugReport { 65 return PathSensitiveBugReport::getRanges(); in getRanges() 95 return PathSensitiveBugReport::getLocation(); in getEndOfPath()
|
| H A D | RetainCountDiagnostics.cpp | 327 PathSensitiveBugReport &BR) override; 331 PathSensitiveBugReport &BR) override; 341 PathSensitiveBugReport &BR) override; 454 PathSensitiveBugReport &BR) { in VisitNode() 755 PathSensitiveBugReport &BR) { in getEndPath() 763 PathSensitiveBugReport &BR) { in getEndPath() 839 : PathSensitiveBugReport(D, D.getDescription(), n), Sym(sym), in RefCountReport() 848 : PathSensitiveBugReport(D, D.getDescription(), endText, n) { in RefCountReport()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | InvalidPtrChecker.cpp | 125 PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in REGISTER_SET_WITH_PROGRAMSTATE() 188 Note = C.getNoteTag([this, PrevReg, FD](PathSensitiveBugReport &BR, in postPreviousReturnInvalidatingCall() 219 [this, MR](PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in postPreviousReturnInvalidatingCall() 299 auto Report = std::make_unique<PathSensitiveBugReport>( in checkPostCall() 342 auto Report = std::make_unique<PathSensitiveBugReport>( in checkLocation()
|