/external/javassist/src/main/javassist/compiler/ast/ |
CallExpr.java | 25 public class CallExpr extends Expr { 28 private CallExpr(ASTree _head, ASTList _tail) { 41 public static CallExpr makeCall(ASTree target, ASTree args) { 42 return new CallExpr(target, new ASTList(args));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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, 94 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE,
|
VirtualCallChecker.cpp | 33 typedef const CallExpr * WorkListUnit; 39 // PreVisited : A CallExpr to this FunctionDecl is in the worklist, but the 41 // PostVisited : A CallExpr to this FunctionDecl is in the worklist, and the 44 PreVisited, /**< A CallExpr to this FunctionDecl is in the 47 PostVisited /**< A CallExpr to this FunctionDecl is in the 54 /// The CallExpr whose body is currently being visited. This is used for 57 const CallExpr *visitingCallExpr; 67 /// This method adds a CallExpr to the worklist and marks the callee as 95 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit); 112 void VisitCallExpr(CallExpr *CE) [all...] |
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 CheckAllocaZero(CheckerContext &C, const CallExpr *CE) const; 45 void CheckVallocZero(CheckerContext &C, const CallExpr *CE) const; 48 const CallExpr *) const [all...] |
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 { 87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { 97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const { 124 void ChrootChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
|
StreamChecker.cpp | 76 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 82 void Fopen(CheckerContext &C, const CallExpr *CE) const; 83 void Tmpfile(CheckerContext &C, const CallExpr *CE) const; 84 void Fclose(CheckerContext &C, const CallExpr *CE) const; 85 void Fread(CheckerContext &C, const CallExpr *CE) const; 86 void Fwrite(CheckerContext &C, const CallExpr *CE) const; 87 void Fseek(CheckerContext &C, const CallExpr *CE) const; 88 void Ftell(CheckerContext &C, const CallExpr *CE) const; 89 void Rewind(CheckerContext &C, const CallExpr *CE) const; 90 void Fgetpos(CheckerContext &C, const CallExpr *CE) const [all...] |
GenericTaintChecker.cpp | 30 class GenericTaintChecker : public Checker< check::PostStmt<CallExpr>, 31 check::PreStmt<CallExpr> > { 35 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 38 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 53 bool checkPre(const CallExpr *CE, CheckerContext &C) const; 56 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const; 59 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const; 62 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const; 73 typedef ProgramStateRef (GenericTaintChecker::*FnCheck)(const CallExpr *, 75 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const [all...] |
CheckerDocumentation.cpp | 37 check::PostStmt<CallExpr>, 76 void checkPostStmt(const CallExpr *DS, CheckerContext &C) const; 166 bool evalCall(const CallExpr *CE, CheckerContext &C) const { return true; } 228 void CheckerDocumentation::checkPostStmt(const CallExpr *DS,
|
AdjustedReturnValueChecker.cpp | 27 public Checker< check::PostStmt<CallExpr> > { 29 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 33 void AdjustedReturnValueChecker::checkPostStmt(const CallExpr *CE,
|
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; 57 void PthreadLockChecker::checkPostStmt(const CallExpr *CE, 95 void PthreadLockChecker::AcquireLock(CheckerContext &C, const CallExpr *CE, 158 void PthreadLockChecker::ReleaseLock(CheckerContext &C, const CallExpr *CE,
|
CStringSyntaxChecker.cpp | 57 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) { 82 bool containsBadStrncatPattern(const CallExpr *CE); 94 void VisitCallExpr(CallExpr *CE); 104 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { 134 void WalkAST::VisitCallExpr(CallExpr *CE) {
|
CheckSecuritySyntaxOnly.cpp | 74 void VisitCallExpr(CallExpr *CE); 82 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 84 typedef void (WalkAST::*FnCheck)(const CallExpr *, 89 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 90 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 91 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 92 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 93 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) [all...] |
ObjCContainersChecker.cpp | 32 class ObjCContainersChecker : public Checker< check::PreStmt<CallExpr>, 33 check::PostStmt<CallExpr> > { 54 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 88 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, 111 void ObjCContainersChecker::checkPreStmt(const CallExpr *CE,
|
NoReturnFunctionChecker.cpp | 28 class NoReturnFunctionChecker : public Checker< check::PostStmt<CallExpr>, 31 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 37 void NoReturnFunctionChecker::checkPostStmt(const CallExpr *CE,
|
AttrNonNullChecker.cpp | 26 : public Checker< check::PreStmt<CallExpr> > { 30 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 34 void AttrNonNullChecker::checkPreStmt(const CallExpr *CE, 53 for (CallExpr::const_arg_iterator I=CE->arg_begin(), E=CE->arg_end(); I!=E;
|
MallocChecker.cpp | 90 check::PreStmt<CallExpr>, 91 check::PostStmt<CallExpr>, 118 void checkPreStmt(const CallExpr *S, CheckerContext &C) const; 119 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 148 const CallExpr *CE, 150 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE, 158 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE, 164 const CallExpr *CE, 167 ProgramStateRef FreeMemAttr(CheckerContext &C, const CallExpr *CE, 169 ProgramStateRef FreeMemAux(CheckerContext &C, const CallExpr *CE [all...] |
BuiltinFunctionChecker.cpp | 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE,
|
ObjCSelfInitChecker.cpp | 61 check::PreStmt<CallExpr>, 62 check::PostStmt<CallExpr>, 69 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 70 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 258 void ObjCSelfInitChecker::checkPreStmt(const CallExpr *CE, 264 void ObjCSelfInitChecker::checkPostStmt(const CallExpr *CE, 320 const Expr *CallExpr = CE.getOriginExpr(); 321 if (CallExpr) 322 addSelfFlag(state, state->getSVal(CallExpr, C.getLocationContext()),
|
CStringChecker.cpp | 58 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 72 const CallExpr *) const; 74 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 75 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 76 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 77 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 78 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 86 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 88 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 89 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const [all...] |
MallocSizeofChecker.cpp | 30 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair; 42 const CallExpr *AllocCall; 46 const CallExpr *AllocCall) 91 TypeCallPair VisitCallExpr(const CallExpr *E) { 158 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
|
OSAtomicChecker.cpp | 27 bool inlineCall(const CallExpr *CE, ExprEngine &Eng, 31 bool evalOSAtomicCompareAndSwap(const CallExpr *CE, 39 const CallExpr *CE, 52 bool OSAtomicChecker::inlineCall(const CallExpr *CE, 70 bool OSAtomicChecker::evalOSAtomicCompareAndSwap(const CallExpr *CE,
|
/external/clang/examples/analyzer-plugin/ |
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 {
|
/external/clang/lib/StaticAnalyzer/Core/ |
ObjCMessage.cpp | 31 const CallExpr *FunctionCall = CallE.get<const CallExpr *>(); 50 const Expr *Fun = CallE.get<const CallExpr *>()->getCallee()->IgnoreParens(); 56 const CallExpr *ActualCall = CallE.get<const CallExpr *>(); 77 cast<CXXMemberCallExpr>(CallE.dyn_cast<const CallExpr *>());
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ObjCMessage.h | 163 llvm::PointerUnion<const CallExpr *, const CXXConstructExpr *> CallE; 168 CallOrObjCMessage(const CallExpr *callE, ProgramStateRef state, 176 : CallE((CallExpr *)0), Msg(msg), State(state), LCtx(lctx) {} 181 return CallE && CallE.is<const CallExpr *>(); 193 const CallExpr *ActualCallE = CallE.dyn_cast<const CallExpr *>(); 213 return CallE.get<const CallExpr *>(); 229 return CallE.get<const CallExpr *>()->getNumArgs(); 246 return CallE.get<const CallExpr *>()->getArg(i);
|
/external/clang/lib/ARCMigrate/ |
TransUnbridgedCasts.cpp | 114 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) { 214 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { 224 CallExpr *callE; 284 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const { 285 if ((callE = dyn_cast_or_null<CallExpr>( 298 if (CallExpr *callE = dyn_cast_or_null<CallExpr>(
|