HomeSort by relevance Sort by last modified time
    Searched full:bugtype (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
BugType.h 1 //===--- BugType.h - Bug Information Desciption ----------------*- C++ -*-===//
10 // This file defines BugType, a class representing a bug type.
31 class BugType {
40 BugType(class CheckName check, StringRef name, StringRef cat)
42 BugType(const CheckerBase *checker, StringRef name, StringRef cat)
45 virtual ~BugType() {}
61 class BuiltinBug : public BugType {
66 : BugType(check, name, categories::LogicError), desc(description) {}
70 : BugType(checker, name, categories::LogicError), desc(description) {}
73 : BugType(checker, name, categories::LogicError), desc(name) {
    [all...]
BugReporter.h 47 class BugType;
74 BugType& BT;
146 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode)
150 BugReport(BugType& bt, StringRef shortDesc, StringRef desc,
156 BugReport(BugType &bt, StringRef desc, PathDiagnosticLocation l)
167 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode,
177 const BugType& getBugType() const { return BT; }
178 BugType& getBugType() { return BT; }
393 typedef llvm::ImmutableSet<BugType*> BugTypesTy;
460 void Register(BugType *BT)
    [all...]
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 2 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
11 mutable std::unique_ptr<BugType> BT;
38 BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
  /external/clang/include/clang/StaticAnalyzer/Core/
IssueHash.h 29 /// location. The bugtype and the name of the checker is also part of the hash.
41 llvm::StringRef BugType, const Decl *D,
47 llvm::StringRef CheckerName, llvm::StringRef BugType,
  /external/clang/lib/StaticAnalyzer/Checkers/
PthreadLockChecker.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
53 mutable std::unique_ptr<BugType> BT_doublelock;
54 mutable std::unique_ptr<BugType> BT_doubleunlock;
55 mutable std::unique_ptr<BugType> BT_destroylock;
56 mutable std::unique_ptr<BugType> BT_initlock;
57 mutable std::unique_ptr<BugType> BT_lor;
143 BT_doublelock.reset(new BugType(this, "Double locking",
205 BT_doubleunlock.reset(new BugType(this, "Double unlocking",
229 BT_lor.reset(new BugType(this, "Lock order reversal", "Lock checker"));
273 BT_destroylock.reset(new BugType(this, "Destroy invalid lock"
    [all...]
TaintTesterChecker.cpp 14 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
25 mutable std::unique_ptr<BugType> BT;
41 BT.reset(new BugType(this, "Tainted data", "General"));
ExprInspectionChecker.cpp 11 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
21 mutable std::unique_ptr<BugType> BT;
104 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
117 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
138 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
171 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
CallAndMessageChecker.cpp 18 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
45 mutable std::unique_ptr<BugType> BT_call_null;
46 mutable std::unique_ptr<BugType> BT_call_undef;
47 mutable std::unique_ptr<BugType> BT_cxx_call_null;
48 mutable std::unique_ptr<BugType> BT_cxx_call_undef;
49 mutable std::unique_ptr<BugType> BT_call_arg;
50 mutable std::unique_ptr<BugType> BT_cxx_delete_undef;
51 mutable std::unique_ptr<BugType> BT_msg_undef;
52 mutable std::unique_ptr<BugType> BT_objc_prop_undef;
53 mutable std::unique_ptr<BugType> BT_objc_subscript_undef
    [all...]
NSAutoreleasePoolChecker.cpp 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
35 mutable std::unique_ptr<BugType> BT;
62 BT.reset(new BugType(this, "Use -drain instead of -release",
NonNullParamChecker.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
32 mutable std::unique_ptr<BugType> BTAttrNonNull;
33 mutable std::unique_ptr<BugType> BTNullRefArg;
186 // Lazily allocate the BugType object if it hasn't already been
190 BTAttrNonNull.reset(new BugType(
NSErrorChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
135 class NSErrorDerefBug : public BugType {
138 : BugType(Checker, "NSError** null dereference",
142 class CFErrorDerefBug : public BugType {
145 : BugType(Checker, "CFErrorRef* null dereference",
267 BugType *bug = nullptr;
  /external/clang/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/darwin-x86/host/3.6/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/darwin-x86/3.8/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/darwin-x86/clang-2629532/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/darwin-x86/clang-2658975/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/darwin-x86/clang-2690385/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/linux-x86/3.8/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/linux-x86/clang-2629532/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/linux-x86/clang-2658975/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/host/linux-x86/clang-2690385/tools/scan-view/share/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/clang/linux-x86/host/3.6/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/misc/darwin-x86/analyzer/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /prebuilts/misc/linux-x86/analyzer/tools/scan-view/
Reporter.py 42 def getValue(self,r,bugtype,getConfigOption):
48 def getHTML(self,r,bugtype,getConfigOption):
53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
60 def getHTML(self,r,bugtype,getConfigOption):
61 default = self.getValue(r,bugtype,getConfigOption)
164 def getValue(self,r,bugtype,getConfigOption):
165 if bugtype.find("leak") != -1:
167 elif bugtype.find("dereference") != -1:
169 elif bugtype.find("missing ivar release") != -1:
  /external/clang/lib/StaticAnalyzer/Core/
IssueHash.cpp 176 StringRef CheckerName, StringRef BugType,
184 NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType)
190 StringRef CheckerName, StringRef BugType,
195 GetIssueString(SM, IssueLoc, CheckerName, BugType, D, LangOpts));

Completed in 1497 milliseconds

1 2 3 4