/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugType.h | 29 class BugType { 35 BugType(StringRef name, StringRef cat) in BugType() function 37 virtual ~BugType(); 52 class BuiltinBug : public BugType { 57 : BugType(name, "Logic error"), desc(description) {} in BuiltinBug() 60 : BugType(name, "Logic error"), desc(name) {} in BuiltinBug()
|
D | BugReporter.h | 46 class BugType; variable 73 BugType& BT; 145 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode) in BugReport() 149 BugReport(BugType& bt, StringRef shortDesc, StringRef desc, in BugReport() 155 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) in BugReport() 167 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode, in BugReport() 177 const BugType& getBugType() const { return BT; } in getBugType() 178 BugType& getBugType() { return BT; } in getBugType() 390 typedef llvm::ImmutableSet<BugType*> BugTypesTy; 457 void Register(BugType *BT); [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 33 mutable OwningPtr<BugType> BT_call_null; 34 mutable OwningPtr<BugType> BT_call_undef; 35 mutable OwningPtr<BugType> BT_cxx_call_null; 36 mutable OwningPtr<BugType> BT_cxx_call_undef; 37 mutable OwningPtr<BugType> BT_call_arg; 38 mutable OwningPtr<BugType> BT_msg_undef; 39 mutable OwningPtr<BugType> BT_objc_prop_undef; 40 mutable OwningPtr<BugType> BT_objc_subscript_undef; 41 mutable OwningPtr<BugType> BT_msg_arg; 42 mutable OwningPtr<BugType> BT_msg_ret; [all …]
|
D | PthreadLockChecker.cpp | 28 mutable OwningPtr<BugType> BT_doublelock; 29 mutable OwningPtr<BugType> BT_lor; 105 BT_doublelock.reset(new BugType("Double locking", "Lock checker")); in AcquireLock() 168 BT_lor.reset(new BugType("Lock order reversal", "Lock checker")); in ReleaseLock()
|
D | NSErrorChecker.cpp | 137 class NSErrorDerefBug : public BugType { 139 NSErrorDerefBug() : BugType("NSError** null dereference", in NSErrorDerefBug() 143 class CFErrorDerefBug : public BugType { 145 CFErrorDerefBug() : BugType("CFErrorRef* null dereference", in CFErrorDerefBug() 265 BugType *bug = 0; in checkEvent()
|
D | ExprInspectionChecker.cpp | 21 mutable OwningPtr<BugType> BT; 96 BT.reset(new BugType("Checking analyzer assumptions", "debug")); in analyzerEval() 116 BT.reset(new BugType("Checking analyzer assumptions", "debug")); in analyzerCheckInlined()
|
D | TaintTesterChecker.cpp | 25 mutable OwningPtr<BugType> BT; 41 BT.reset(new BugType("Tainted data", "General")); in initBugType()
|
D | NSAutoreleasePoolChecker.cpp | 35 mutable OwningPtr<BugType> BT; 62 BT.reset(new BugType("Use -drain instead of -release", in checkPreObjCMessage()
|
D | DeadStoresChecker.cpp | 180 const char *BugType = 0; in Report() local 184 BugType = "Dead initialization"; in Report() 190 BugType = "Dead increment"; in Report() 192 if (!BugType) BugType = "Dead assignment"; in Report() 203 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R); in Report()
|
D | SimpleStreamChecker.cpp | 57 OwningPtr<BugType> DoubleCloseBugType; 58 OwningPtr<BugType> LeakBugType; 112 DoubleCloseBugType.reset(new BugType("Double fclose", in SimpleStreamChecker() 115 LeakBugType.reset(new BugType("Resource Leak", in SimpleStreamChecker()
|
D | NonNullParamChecker.cpp | 32 mutable OwningPtr<BugType> BTAttrNonNull; 33 mutable OwningPtr<BugType> BTNullRefArg; 158 BTAttrNonNull.reset(new BugType( in genReportNullAttrNonNull()
|
D | MacOSXAPIChecker.cpp | 34 mutable OwningPtr<BugType> BT_dispatchOnce; 70 BT_dispatchOnce.reset(new BugType("Improper use of 'dispatch_once'", in CheckDispatchOnce()
|
D | ObjCContainersChecker.cpp | 33 mutable OwningPtr<BugType> BT; 36 BT.reset(new BugType("CFArray API", in initBugType()
|
D | UnixAPIChecker.cpp | 33 mutable OwningPtr<BugType> BT_open, BT_pthreadOnce, BT_mallocZero; 67 static inline void LazyInitialize(OwningPtr<BugType> &BT, in LazyInitialize() 71 BT.reset(new BugType(name, categories::UnixAPI)); in LazyInitialize()
|
D | UndefinedArraySubscriptChecker.cpp | 28 mutable OwningPtr<BugType> BT;
|
D | UndefinedAssignmentChecker.cpp | 27 mutable OwningPtr<BugType> BT;
|
D | UndefResultChecker.cpp | 31 mutable OwningPtr<BugType> BT;
|
D | MallocChecker.cpp | 159 mutable OwningPtr<BugType> BT_DoubleFree; 160 mutable OwningPtr<BugType> BT_Leak; 161 mutable OwningPtr<BugType> BT_UseFree; 162 mutable OwningPtr<BugType> BT_BadFree; 163 mutable OwningPtr<BugType> BT_MismatchedDealloc; 164 mutable OwningPtr<BugType> BT_OffsetFree; 1225 BT_BadFree.reset(new BugType("Bad free", "Memory Error")); in ReportBadFree() 1270 BT_MismatchedDealloc.reset(new BugType("Bad deallocator", in ReportMismatchedDealloc() 1316 BT_OffsetFree.reset(new BugType("Offset free", "Memory Error")); in ReportOffsetFree() 1365 BT_UseFree.reset(new BugType("Use-after-free", "Memory Error")); in ReportUseAfterFree() [all …]
|
D | UndefCapturedBlockVarChecker.cpp | 30 mutable OwningPtr<BugType> BT;
|
D | ObjCSelfInitChecker.cpp | 83 class InitSelfBug : public BugType { 86 InitSelfBug() : BugType("Missing \"self = [(super or self) init...]\"", in InitSelfBug()
|
D | VLASizeChecker.cpp | 32 mutable OwningPtr<BugType> BT;
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 11 mutable OwningPtr<BugType> BT; 38 BT.reset(new BugType("call to main", "example analyzer plugin")); in checkPreStmt()
|
/external/chromium/chrome/browser/ |
D | bug_report_util.h | 33 enum BugType { enum
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 210 StringRef BugType = D.getBugType(); in ReportDiag() local 211 if (!BugType.empty()) in ReportDiag() 212 os << "\n<!-- BUGTYPE " << BugType << " -->\n"; in ReportDiag()
|
D | BugReporter.cpp | 2491 BugType::~BugType() { } in ~BugType() 2493 void BugType::FlushReports(BugReporter &BR) {} in FlushReports() 2741 SmallVector<const BugType*, 16> bugTypes; in FlushReports() 2744 for (SmallVectorImpl<const BugType *>::iterator in FlushReports() 2746 const_cast<BugType*>(*I)->FlushReports(*this); in FlushReports() 2761 for (llvm::StringMap<BugType*>::iterator in FlushReports() 3200 void BugReporter::Register(BugType *BT) { in Register() 3229 BugType& BT = R->getBugType(); in emitReport() 3264 BugType& BT = I->getBugType(); in FindReportInEquivalenceClass() 3375 BugType& BT = exampleReport->getBugType(); in FlushReport() [all …]
|