/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 41 class BugReport; variable 53 class BugReport : public llvm::ilist_node<BugReport> { 129 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode) in BugReport() function 133 BugReport(BugType& bt, StringRef shortDesc, StringRef desc, in BugReport() function 139 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) in BugReport() function 151 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode, in BugReport() function 157 virtual ~BugReport(); 262 template<> struct ilist_traits<clang::ento::BugReport> 263 : public ilist_default_traits<clang::ento::BugReport> { 264 clang::ento::BugReport *createSentinel() const { [all …]
|
D | BugReporterVisitor.h | 25 class BugReport; variable 61 BugReport &BR) = 0; 71 BugReport &BR); 78 BugReport &BR); 113 static void registerStatementVarDecls(BugReport &BR, const Stmt *S); 128 BugReport &BR); 147 BugReport &BR); 162 BugReport &BR); 177 BugReport &BR); 182 BugReport &BR); [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 124 bool BugReporter::RemoveUneededCalls(PathPieces &pieces, BugReport *R) { in RemoveUneededCalls() 182 class NodeMapClosure : public BugReport::NodeResolver { 195 BugReport *R; 203 BugReport *r, NodeBackMap *Backmap, in PathDiagnosticBuilder() 214 BugReport *getBugReport() { return R; } in getBugReport() 731 BugReport *R = PDB.getBugReport(); in GenerateMinimalPathDiagnostic() 1087 static void reversePropagateIntererstingSymbols(BugReport &R, in reversePropagateIntererstingSymbols() 1119 static void reversePropagateInterestingSymbols(BugReport &R, in reversePropagateInterestingSymbols() 1308 BugReport *R = PDB.getBugReport(); in GenerateExtensivePathDiagnostic() 1338 void BugReport::NodeResolver::anchor() {} in anchor() [all …]
|
D | BugReporterVisitors.cpp | 98 BugReport &BR) { in getEndPath() 105 BugReport &BR) { in getDefaultEndPath() 109 BugReport::ranges_iterator Beg, End; in getDefaultEndPath() 153 BugReport &BR) { in addVisitorIfNecessary() 184 BugReport &BR) { in VisitNode() 261 BugReport &BR) { in VisitNode() 407 BugReport &BR) { in VisitNode() 449 BugReport &report) { in trackNullOrUndefValue() 550 BugReport &BR) { in VisitNode() 581 void FindLastStoreBRVisitor::registerStatementVarDecls(BugReport &BR, in registerStatementVarDecls() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCAtSyncChecker.cpp | 50 BugReport *report = in checkPreStmt() 51 new BugReport(*BT_undef, BT_undef->getDescription(), N); in checkPreStmt() 73 BugReport *report = in checkPreStmt() 74 new BugReport(*BT_null, BT_null->getDescription(), N); in checkPreStmt()
|
D | MacOSKeychainAPIChecker.cpp | 108 BugReport *generateAllocatedDataNotReleasedReport(const AllocationPair &AP, 126 void markInteresting(BugReport *R, const AllocationPair &AP) const { in markInteresting() 153 BugReport &BR); 281 BugReport *Report = new BugReport(*BT, os.str(), N); in generateDeallocatorMismatchReport() 322 BugReport *Report = new BugReport(*BT, os.str(), N); in checkPreStmt() 374 BugReport *Report = new BugReport(*BT, in checkPreStmt() 438 BugReport *Report = new BugReport(*BT, in checkPreStmt() 546 BugReport *MacOSKeychainAPIChecker:: 565 BugReport *Report = new BugReport(*BT, os.str(), N, LocUsedForUniqueing); in generateAllocatedDataNotReleasedReport() 664 BugReport &BR) { in VisitNode()
|
D | ExprInspectionChecker.cpp | 95 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerEval() 115 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerCheckInlined()
|
D | CallAndMessageChecker.cpp | 75 BugReport *R = new BugReport(*BT, BT->getName(), N); in emitBadCall() 122 BugReport *R = new BugReport(*BT, Desc, N); in PreVisitProcessArg() 205 BugReport *R = new BugReport(*BT, os.str(), N); in PreVisitProcessArg() 332 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreObjCMessage() 376 BugReport *report = new BugReport(*BT_msg_ret, os.str(), N); in emitNilReceiverBug()
|
D | StreamChecker.cpp | 288 BugReport *R = new BugReport(*BT_illegalwhence, in Fseek() 365 BugReport *R =new BugReport(*BT_nullfp, BT_nullfp->getDescription(), N); in CheckNullStream() 396 BugReport *R = new BugReport(*BT_doubleclose, in CheckDoubleClose() 423 BugReport *R = new BugReport(*BT_ResourceLeak, in checkDeadSymbols() 444 BugReport *R = new BugReport(*BT_ResourceLeak, in checkEndPath()
|
D | UnixAPIChecker.cpp | 136 BugReport *report = in CheckOpen() 137 new BugReport(*BT_open, in CheckOpen() 184 BugReport *report = new BugReport(*BT_pthreadOnce, os.str(), N); in CheckPthreadOnce() 224 BugReport *report = new BugReport(*BT_mallocZero, os.str(), N); in ReportZeroByteAllocation()
|
D | BasicObjCFoundationChecks.cpp | 118 BugReport *R = new BugReport(*BT, os.str(), N); in WarnNilArg() 359 BugReport *report = new BugReport(*BT, os.str(), N); in checkPreStmt() 433 BugReport *report = new BugReport(*BT, description, N); in checkPreStmt() 492 BugReport *report = new BugReport(*BT, os.str(), N); in checkPreObjCMessage() 645 BugReport *R = new BugReport(*BT, os.str(), errorNode.getValue()); in checkPreObjCMessage()
|
D | PthreadLockChecker.cpp | 117 BugReport *report = new BugReport(*BT_doublelock, in AcquireLock() 180 BugReport *report = new BugReport(*BT_lor, in ReleaseLock()
|
D | UndefinedArraySubscriptChecker.cpp | 43 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|
D | ReturnUndefChecker.cpp | 53 BugReport *report = in checkPreStmt() 54 new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | TaintTesterChecker.cpp | 53 BugReport *report = new BugReport(*BT, "tainted",N); in checkPostStmt()
|
D | NSAutoreleasePoolChecker.cpp | 71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when " in checkPreObjCMessage()
|
D | FixedAddressChecker.cpp | 59 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | PointerArithChecker.cpp | 60 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | CastToStructChecker.cpp | 65 BugReport *R = new BugReport(*BT,BT->getDescription(), N); in checkPreStmt()
|
D | PointerSubChecker.cpp | 68 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | StackAddrEscapeChecker.cpp | 107 BugReport *report = new BugReport(*BT_returnstack, os.str(), N); in EmitStackError() 231 BugReport *report = new BugReport(*BT_stackleak, os.str(), N); in checkEndPath()
|
D | ReturnPointerRangeChecker.cpp | 81 BugReport *report = in checkPreStmt() 82 new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | ArrayBoundChecker.cpp | 77 BugReport *report = in checkLocation() 78 new BugReport(*BT, BT->getDescription(), N); in checkLocation()
|
D | UndefinedAssignmentChecker.cpp | 78 BugReport *R = new BugReport(*BT, str, N); in checkBind()
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 40 BugReport *report = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|