| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 41 class PathSensitiveBugReport; variable 68 PathSensitiveBugReport &BR) = 0; 74 PathSensitiveBugReport &BR); 83 PathSensitiveBugReport &BR); 90 const PathSensitiveBugReport &BR); 172 PathSensitiveBugReport &Report; 178 Tracker(PathSensitiveBugReport &Report); 183 static TrackerRef create(PathSensitiveBugReport &Report) { in create() 187 PathSensitiveBugReport &getReport() { return Report; } in getReport() 365 PathSensitiveBugReport &R, TrackingOptions Opts = {}); [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, 695 ArrayRef<PathSensitiveBugReport *> &bugReports); 766 PathSensitiveBugReport &)>; [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 138 const PathSensitiveBugReport *R); 212 const PathSensitiveBugReport *R; 225 findValidReport(ArrayRef<PathSensitiveBugReport *> &bugReports, 230 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, 274 const PathSensitiveBugReport *getBugReport() const { return R; } in getBugReport() 425 const PathSensitiveBugReport *R, in removeUnneededCalls() 1335 generateEmptyDiagnosticForReport(const PathSensitiveBugReport *R, in generateEmptyDiagnosticForReport() 1978 const PathSensitiveBugReport *R) in PathDiagnosticConstruct() 1987 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder() 2130 PathSensitiveBugReport::PathSensitiveBugReport( in PathSensitiveBugReport() function in PathSensitiveBugReport [all …]
|
| H A D | BugReporterVisitors.cpp | 243 const PathSensitiveBugReport *B) { in isVarAnInterestingCondition() 259 const PathSensitiveBugReport *B) { in isInterestingExpr() 325 PathSensitiveBugReport &) { in getEndPath() argument 331 PathSensitiveBugReport &) {} in finalizeVisitor() argument 336 const PathSensitiveBugReport &BR) { in getDefaultEndPath() 441 const ExplodedNode *N, BugReporterContext &BR, PathSensitiveBugReport &R) { in VisitNode() 549 PathDiagnosticPieceRef maybeEmitNoteForObjCSelf(PathSensitiveBugReport &R, 553 PathDiagnosticPieceRef maybeEmitNoteForCXXThis(PathSensitiveBugReport &R, 558 maybeEmitNoteForParameters(PathSensitiveBugReport &R, const CallEvent &Call, 566 maybeEmitNote(PathSensitiveBugReport &R, const CallEvent &Call, [all …]
|
| /openbsd-src/gnu/llvm/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 std::string(Note); }, 332 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb, 335 [Cb](PathSensitiveBugReport &BR) -> std::string {
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonNullParamChecker.cpp | 41 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 D | DeleteWithNonVirtualDtorChecker.cpp | 50 PathSensitiveBugReport &BR) override; 97 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt() 108 PathSensitiveBugReport &BR) { in VisitNode()
|
| H A D | MacOSKeychainAPIChecker.cpp | 117 std::unique_ptr<PathSensitiveBugReport> 123 void markInteresting(PathSensitiveBugReport *R, in markInteresting() 148 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 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() 661 R = std::make_unique<PathSensitiveBugReport>( in reportBug() 667 R = std::make_unique<PathSensitiveBugReport>(Type, Msg, ErrorNode); in reportBug()
|
| H A D | ObjCAtSyncChecker.cpp | 49 auto report = std::make_unique<PathSensitiveBugReport>( in checkPreStmt() 73 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 | 142 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 D | DynamicTypeChecker.cpp | 52 PathSensitiveBugReport &BR) override; 83 auto R = std::make_unique<PathSensitiveBugReport>( in reportTypeError() 92 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() 615 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset() 651 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease() 693 PathSensitiveBugReport &BR, in handleSwap() 756 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp() 796 PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in updateMovedSmartPointers() 820 ThisRegion](PathSensitiveBugReport &BR, in updateMovedSmartPointers() 890 [ThisRegion](PathSensitiveBugReport &BR, in handleBoolConversion() 903 [ThisRegion](PathSensitiveBugReport &BR, llvm::raw_ostream &OS) { in handleBoolConversion()
|
| H A D | StackAddrEscapeChecker.cpp | 160 std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N); in EmitStackError() 198 auto Report = std::make_unique<PathSensitiveBugReport>( in checkAsyncExecutedBlockCaptures() 222 auto Report = std::make_unique<PathSensitiveBugReport>(*BT_capturedstackret, in checkReturnedBlockCaptures() 383 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction() 405 std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N); in checkEndFunction()
|
| 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 | ObjCSuperDeallocChecker.cpp | 74 PathSensitiveBugReport &BR) override; 191 auto BR = std::make_unique<PathSensitiveBugReport>(*DoubleSuperDeallocBugType, in reportUseAfterDealloc() 249 PathSensitiveBugReport &) { in VisitNode() argument
|
| H A D | DebugContainerModeling.cpp | 102 [Cont, Field](PathSensitiveBugReport &BR) -> std::string { in analyzerContainerDataField() 140 BR.emitReport(std::make_unique<PathSensitiveBugReport>(*DebugMsgBugType, in reportDebugMsg()
|
| H A D | StreamChecker.cpp | 408 std::string operator()(PathSensitiveBugReport &BR) const { in operator ()() 423 return C.getNoteTag([this, StreamSym](PathSensitiveBugReport &BR) { in constructSetEofNoteTag() 1069 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 1085 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureStreamOpened() 1125 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 1135 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureNoFilePositionIndeterminate() 1157 C.emitReport(std::make_unique<PathSensitiveBugReport>( in ensureFseekWhenceCorrect() 1171 auto R = std::make_unique<PathSensitiveBugReport>( in reportFEofWarning() 1209 std::unique_ptr<PathSensitiveBugReport> R = in reportLeaks() 1210 std::make_unique<PathSensitiveBugReport>( in reportLeaks()
|
| H A D | TestAfterDivZeroChecker.cpp | 75 PathSensitiveBugReport &BR) override; 98 PathSensitiveBugReport &BR) { in REGISTER_SET_WITH_PROGRAMSTATE() 171 auto R = std::make_unique<PathSensitiveBugReport>( in reportBug()
|
| /openbsd-src/gnu/llvm/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() 842 : PathSensitiveBugReport(D, D.getDescription(), n), Sym(sym), in RefCountReport() 851 : PathSensitiveBugReport(D, D.getDescription(), endText, n) { in RefCountReport()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | InvalidPtrChecker.cpp | 106 PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in REGISTER_SET_WITH_PROGRAMSTATE() 127 Note = C.getNoteTag([PrevReg, FD](PathSensitiveBugReport &BR, in postPreviousReturnInvalidatingCall() 155 C.getNoteTag([MR](PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in postPreviousReturnInvalidatingCall() 222 std::make_unique<PathSensitiveBugReport>(BT, Out.str(), ErrorNode); in checkPostCall() 264 auto Report = std::make_unique<PathSensitiveBugReport>( in checkLocation()
|