/external/clang/lib/StaticAnalyzer/Checkers/ |
D | StreamChecker.cpp | 74 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 78 void Fopen(CheckerContext &C, const CallExpr *CE) const; 79 void Tmpfile(CheckerContext &C, const CallExpr *CE) const; 80 void Fclose(CheckerContext &C, const CallExpr *CE) const; 81 void Fread(CheckerContext &C, const CallExpr *CE) const; 82 void Fwrite(CheckerContext &C, const CallExpr *CE) const; 83 void Fseek(CheckerContext &C, const CallExpr *CE) const; 84 void Ftell(CheckerContext &C, const CallExpr *CE) const; 85 void Rewind(CheckerContext &C, const CallExpr *CE) const; 86 void Fgetpos(CheckerContext &C, const CallExpr *CE) const; [all …]
|
D | UnixAPIChecker.cpp | 32 class UnixAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 40 void CheckPthreadOnce(CheckerContext &C, const CallExpr *CE) const; 41 void CheckCallocZero(CheckerContext &C, const CallExpr *CE) const; 42 void CheckMallocZero(CheckerContext &C, const CallExpr *CE) const; 43 void CheckReallocZero(CheckerContext &C, const CallExpr *CE) const; 44 void CheckReallocfZero(CheckerContext &C, const CallExpr *CE) const; 45 void CheckAllocaZero(CheckerContext &C, const CallExpr *CE) const; 46 void CheckVallocZero(CheckerContext &C, const CallExpr *CE) const; [all …]
|
D | ExprInspectionChecker.cpp | 23 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 24 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 25 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 27 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *, 31 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 35 bool ExprInspectionChecker::evalCall(const CallExpr *CE, in evalCall() 53 static const char *getArgumentValueString(const CallExpr *CE, in getArgumentValueString() 85 void ExprInspectionChecker::analyzerEval(const CallExpr *CE, in analyzerEval() 102 void ExprInspectionChecker::analyzerCheckInlined(const CallExpr *CE, in analyzerCheckInlined() 122 void ExprInspectionChecker::analyzerCrash(const CallExpr *CE, in analyzerCrash()
|
D | GenericTaintChecker.cpp | 31 class GenericTaintChecker : public Checker< check::PostStmt<CallExpr>, 32 check::PreStmt<CallExpr> > { 36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 39 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 54 bool checkPre(const CallExpr *CE, CheckerContext &C) const; 57 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const; 60 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const; 63 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const; 74 typedef ProgramStateRef (GenericTaintChecker::*FnCheck)(const CallExpr *, 76 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const; [all …]
|
D | ChrootChecker.cpp | 41 class ChrootChecker : public Checker<eval::Call, check::PreStmt<CallExpr> > { 54 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 58 void Chroot(CheckerContext &C, const CallExpr *CE) const; 59 void Chdir(CheckerContext &C, const CallExpr *CE) const; 64 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const { in evalCall() 87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { in Chroot() 97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const { in Chdir() 124 void ChrootChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const { in checkPreStmt()
|
D | CheckSecuritySyntaxOnly.cpp | 68 void VisitCallExpr(CallExpr *CE); 76 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 78 typedef void (WalkAST::*FnCheck)(const CallExpr *, 83 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 84 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 85 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 86 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 87 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 88 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 89 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD); [all …]
|
D | VirtualCallChecker.cpp | 34 typedef const CallExpr * WorkListUnit; 58 const CallExpr *visitingCallExpr; 96 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit); in Execute() 113 void VisitCallExpr(CallExpr *CE); 114 void VisitCXXMemberCallExpr(CallExpr *CE); 118 void ReportVirtualCall(const CallExpr *CE, bool isPure); 133 void WalkAST::VisitCallExpr(CallExpr *CE) { in VisitCallExpr() 138 void WalkAST::VisitCXXMemberCallExpr(CallExpr *CE) { in VisitCXXMemberCallExpr() 163 void WalkAST::ReportVirtualCall(const CallExpr *CE, bool isPure) { in ReportVirtualCall() 175 for (SmallVectorImpl<const CallExpr *>::iterator I = WList.end(), in ReportVirtualCall()
|
D | MacOSXAPIChecker.cpp | 33 class MacOSXAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 43 const CallExpr *, 52 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, in CheckDispatchOnce() 104 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE, in checkPreStmt()
|
D | PthreadLockChecker.cpp | 27 class PthreadLockChecker : public Checker< check::PostStmt<CallExpr> > { 36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 38 void AcquireLock(CheckerContext &C, const CallExpr *CE, SVal lock, 41 void ReleaseLock(CheckerContext &C, const CallExpr *CE, SVal lock) const; 49 void PthreadLockChecker::checkPostStmt(const CallExpr *CE, in REGISTER_LIST_WITH_PROGRAMSTATE() 87 void PthreadLockChecker::AcquireLock(CheckerContext &C, const CallExpr *CE, in AcquireLock() 150 void PthreadLockChecker::ReleaseLock(CheckerContext &C, const CallExpr *CE, in ReleaseLock()
|
D | ObjCContainersChecker.cpp | 31 class ObjCContainersChecker : public Checker< check::PreStmt<CallExpr>, 32 check::PostStmt<CallExpr> > { 53 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 54 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 80 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, in checkPostStmt() 103 void ObjCContainersChecker::checkPreStmt(const CallExpr *CE, in checkPreStmt()
|
D | CStringChecker.cpp | 60 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 74 const CallExpr *) const; 76 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 77 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 78 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 79 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 80 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 88 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 90 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 91 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const; [all …]
|
D | CStringSyntaxChecker.cpp | 56 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) { in isStrlen() 81 bool containsBadStrncatPattern(const CallExpr *CE); 93 void VisitCallExpr(CallExpr *CE); 103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { in containsBadStrncatPattern() 135 void WalkAST::VisitCallExpr(CallExpr *CE) { in VisitCallExpr()
|
D | MallocSizeofChecker.cpp | 31 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair; 43 const CallExpr *AllocCall; 47 const CallExpr *AllocCall) in CallRecord() 92 TypeCallPair VisitCallExpr(const CallExpr *E) { in VisitCallExpr() 189 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(), in checkASTCodeBody()
|
D | ObjCContainersASTChecker.cpp | 81 void VisitCallExpr(CallExpr *CE); 85 static StringRef getCalleeName(CallExpr *CE) { in getCalleeName() 97 void WalkAST::VisitCallExpr(CallExpr *CE) { in VisitCallExpr()
|
D | MacOSKeychainAPIChecker.cpp | 29 class MacOSKeychainAPIChecker : public Checker<check::PreStmt<CallExpr>, 30 check::PostStmt<CallExpr>, 57 void checkPreStmt(const CallExpr *S, CheckerContext &C) const; 58 void checkPostStmt(const CallExpr *S, CheckerContext &C) const; 279 void MacOSKeychainAPIChecker::checkPreStmt(const CallExpr *CE, in checkPreStmt() 443 void MacOSKeychainAPIChecker::checkPostStmt(const CallExpr *CE, in checkPostStmt() 606 const CallExpr *CE = in VisitNode() 607 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
|
D | MallocChecker.cpp | 151 check::PostStmt<CallExpr>, 185 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 238 const CallExpr *CE, 240 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE, in MallocMemAux() 249 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE, 259 ProgramStateRef FreeMemAttr(CheckerContext &C, const CallExpr *CE, 261 ProgramStateRef FreeMemAux(CheckerContext &C, const CallExpr *CE, 273 ProgramStateRef ReallocMem(CheckerContext &C, const CallExpr *CE, 275 static ProgramStateRef CallocMem(CheckerContext &C, const CallExpr *CE); 368 return (Stmt && (isa<CallExpr>(Stmt) || isa<CXXNewExpr>(Stmt)) && in isAllocated() [all …]
|
D | BuiltinFunctionChecker.cpp | 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE, in evalCall()
|
/external/javassist/src/main/javassist/compiler/ast/ |
D | CallExpr.java | 25 public class CallExpr extends Expr { class 28 private CallExpr(ASTree _head, ASTList _tail) { in CallExpr() method in CallExpr 41 public static CallExpr makeCall(ASTree target, ASTree args) { in makeCall() 42 return new CallExpr(target, new ASTList(args)); in makeCall()
|
/external/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 35 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>())); in TEST() 37 EXPECT_FALSE(DNT<CallExpr>().isBaseOf(DNT<BinaryOperator>())); in TEST() 38 EXPECT_FALSE(DNT<BinaryOperator>().isBaseOf(DNT<CallExpr>())); in TEST() 56 EXPECT_EQ("CallExpr", DNT<CallExpr>().asStringRef()); in TEST()
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 10 class MainCallChecker : public Checker < check::PreStmt<CallExpr> > { 14 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 18 void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const { in checkPreStmt()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 127 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) { in transformNonObjCToObjCCast() 268 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { in rewriteCastForCFRetain() 349 CallExpr *callE; in transformObjCToNonObjCCast() 409 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const { in isPassedToCFRetain() 410 if ((callE = dyn_cast_or_null<CallExpr>( in isPassedToCFRetain() 423 if (CallExpr *callE = dyn_cast_or_null<CallExpr>( in isPassedToCParamWithKnownOwnership()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 65 def CallExpr : DStmt<Expr>; 96 def CXXOperatorCallExpr : DStmt<CallExpr>; 97 def CXXMemberCallExpr : DStmt<CallExpr>; 105 def UserDefinedLiteral : DStmt<CallExpr>; 161 def CUDAKernelCallExpr : DStmt<CallExpr>;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 236 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const; 242 const IdentifierInfo *getCalleeIdentifier(const CallExpr *CE) const { in getCalleeIdentifier() 251 StringRef getCalleeName(const CallExpr *CE) const { in getCalleeName()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 1586 CallExpr::const_arg_iterator ArgBeg, 1587 CallExpr::const_arg_iterator ArgEnd); 1591 CallExpr::const_arg_iterator ArgBeg, 1592 CallExpr::const_arg_iterator ArgEnd); 1597 CallExpr::const_arg_iterator ArgBeg, 1598 CallExpr::const_arg_iterator ArgEnd, 1604 CallExpr::const_arg_iterator ArgBeg, 1605 CallExpr::const_arg_iterator ArgEnd, 1973 LValue EmitCallExprLValue(const CallExpr *E); 2076 CallExpr::const_arg_iterator ArgBeg, [all …]
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 197 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once() 260 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
|