/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ReturnUndefChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT_Undef; 29 mutable std::unique_ptr<BuiltinBug> BT_NullReference; 81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, in emitBug() 98 new BuiltinBug(this, "Garbage return value", in emitUndef() 116 BT_NullReference.reset(new BuiltinBug(this, "Returning null reference")); in checkReference()
|
D | ObjCAtSyncChecker.cpp | 29 mutable std::unique_ptr<BuiltinBug> BT_null; 30 mutable std::unique_ptr<BuiltinBug> BT_undef; 48 BT_undef.reset(new BuiltinBug(this, "Uninitialized value used as mutex " in checkPreStmt() 71 BT_null.reset(new BuiltinBug( in checkPreStmt()
|
D | CallAndMessageChecker.cpp | 89 BT.reset(new BuiltinBug(this, desc)); in LazyInit_BT() 315 BT_call_undef.reset(new BuiltinBug( in checkPreStmt() 326 BT_call_null.reset(new BuiltinBug( in checkPreStmt() 346 new BuiltinBug(this, "Uninitialized argument value")); in checkPreStmt() 371 new BuiltinBug(this, "Called C++ object pointer is uninitialized")); in checkPreCall() 383 new BuiltinBug(this, "Called C++ object pointer is null")); in checkPreCall() 451 BT_msg_undef.reset(new BuiltinBug(this, in checkPreObjCMessage() 458 BT_objc_prop_undef.reset(new BuiltinBug( in checkPreObjCMessage() 464 BT_objc_subscript_undef.reset(new BuiltinBug( in checkPreObjCMessage() 495 new BuiltinBug(this, "Receiver in message expression is 'nil'")); in emitNilReceiverBug()
|
D | StackAddrEscapeChecker.cpp | 31 mutable std::unique_ptr<BuiltinBug> BT_stackleak; 32 mutable std::unique_ptr<BuiltinBug> BT_returnstack; 104 new BuiltinBug(this, "Return of address to stack-allocated memory")); in EmitStackError() 229 new BuiltinBug(this, "Stack address stored into global variable", in checkEndFunction()
|
D | FixedAddressChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 56 new BuiltinBug(this, "Use fixed address", in checkPreStmt()
|
D | CastToStructChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; 62 new BuiltinBug(this, "Cast from non-struct type to struct type", in checkPreStmt()
|
D | PointerSubChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 66 new BuiltinBug(this, "Pointer subtraction", in checkPreStmt()
|
D | ArrayBoundChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 70 BT.reset(new BuiltinBug( in checkLocation()
|
D | DereferenceChecker.cpp | 34 mutable std::unique_ptr<BuiltinBug> BT_null; 35 mutable std::unique_ptr<BuiltinBug> BT_undef; 124 BT_null.reset(new BuiltinBug(this, "Dereference of null pointer")); in reportBug() 196 new BuiltinBug(this, "Dereference of undefined pointer value")); in checkLocation()
|
D | ReturnPointerRangeChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 73 BT.reset(new BuiltinBug( in checkPreStmt()
|
D | DivZeroChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; 40 BT.reset(new BuiltinBug(this, "Division by zero")); in reportBug()
|
D | UndefBranchChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 69 BT.reset(new BuiltinBug( in checkBranchCondition()
|
D | BoolAssignmentChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; 37 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); in emitReport()
|
D | PointerArithChecker.cpp | 60 mutable std::unique_ptr<BuiltinBug> BT_pointerArith; 61 mutable std::unique_ptr<BuiltinBug> BT_polyArray; 175 BT_polyArray.reset(new BuiltinBug( in reportPointerArithMisuse() 198 BT_pointerArith.reset(new BuiltinBug(this, "Dangerous pointer arithmetic", in reportPointerArithMisuse()
|
D | StreamChecker.cpp | 65 mutable std::unique_ptr<BuiltinBug> BT_nullfp, BT_illegalwhence, 277 new BuiltinBug(this, "Illegal whence argument", in Fseek() 354 BT_nullfp.reset(new BuiltinBug(this, "NULL stream pointer", in CheckNullStream() 384 BT_doubleclose.reset(new BuiltinBug( in CheckDoubleClose() 412 BT_ResourceLeak.reset(new BuiltinBug( in checkDeadSymbols()
|
D | CastSizeChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; 133 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", in checkPreStmt()
|
D | ChrootChecker.cpp | 45 mutable std::unique_ptr<BuiltinBug> BT_BreakJail; 146 BT_BreakJail.reset(new BuiltinBug( in checkPreStmt()
|
D | VforkChecker.cpp | 47 mutable std::unique_ptr<BuiltinBug> BT; 125 BT.reset(new BuiltinBug(this, in reportBug()
|
D | ArrayBoundCheckerV2.cpp | 31 mutable std::unique_ptr<BuiltinBug> BT; 190 BT.reset(new BuiltinBug(this, "Out-of-bound access")); in reportOOB()
|
D | UndefinedArraySubscriptChecker.cpp | 53 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); in checkPreStmt()
|
D | UndefinedAssignmentChecker.cpp | 57 BT.reset(new BuiltinBug(this, str)); in checkBind()
|
D | TestAfterDivZeroChecker.cpp | 82 mutable std::unique_ptr<BuiltinBug> DivZeroBug; 172 DivZeroBug.reset(new BuiltinBug(this, "Division by zero")); in reportBug()
|
D | UndefResultChecker.cpp | 59 new BuiltinBug(this, "Result of operation is garbage or undefined")); in checkPostStmt()
|
D | UndefCapturedBlockVarChecker.cpp | 80 new BuiltinBug(this, "uninitialized variable captured by block")); in checkPostStmt()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugType.h | 61 class BuiltinBug : public BugType { 65 BuiltinBug(class CheckName check, const char *name, const char *description) in BuiltinBug() function 68 BuiltinBug(const CheckerBase *checker, const char *name, in BuiltinBug() function 72 BuiltinBug(const CheckerBase *checker, const char *name) in BuiltinBug() function
|