Searched refs:CallExpr (Results 1 - 25 of 104) sorted by relevance

12345

/external/javassist/src/main/javassist/compiler/ast/
H A DCallExpr.java25 public class CallExpr extends Expr { class in inherits:Expr
28 private CallExpr(ASTree _head, ASTList _tail) { method in class:CallExpr
41 public static CallExpr makeCall(ASTree target, ASTree args) {
42 return new CallExpr(target, new ASTList(args));
H A DVisitor.java38 public void atCallExpr(CallExpr n) throws CompileError {}
/external/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp33 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,
H A DExprInspectionChecker.cpp22 void analyzerEval(const CallExpr *CE, CheckerContext &C) const;
23 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const;
25 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *,
29 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
33 bool ExprInspectionChecker::evalCall(const CallExpr *CE,
50 static const char *getArgumentValueString(const CallExpr *CE,
82 void ExprInspectionChecker::analyzerEval(const CallExpr *CE,
99 void ExprInspectionChecker::analyzerCheckInlined(const CallExpr *CE,
H A DVirtualCallChecker.cpp33 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 *C
[all...]
H A DUnixAPIChecker.cpp32 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 *) cons
[all...]
H A DChrootChecker.cpp41 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 {
H A DStreamChecker.cpp76 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 *C
[all...]
H A DGenericTaintChecker.cpp30 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 *C
[all...]
H A DPthreadLockChecker.cpp27 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,
H A DCStringSyntaxChecker.cpp57 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) {
H A DCheckSecuritySyntaxOnly.cpp75 void VisitCallExpr(CallExpr *CE);
83 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
85 typedef void (WalkAST::*FnCheck)(const CallExpr *,
90 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
91 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
92 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
93 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_rand(const CallExpr *C
[all...]
H A DObjCContainersChecker.cpp31 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;
87 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE,
110 void ObjCContainersChecker::checkPreStmt(const CallExpr *CE,
H A DNoReturnFunctionChecker.cpp28 class NoReturnFunctionChecker : public Checker< check::PostStmt<CallExpr>,
31 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
37 void NoReturnFunctionChecker::checkPostStmt(const CallExpr *CE,
H A DCheckerDocumentation.cpp37 check::PostStmt<CallExpr>,
77 /// check::PostStmt<CallExpr>
78 void checkPostStmt(const CallExpr *DS, CheckerContext &C) const;
195 bool evalCall(const CallExpr *CE, CheckerContext &C) const { return true; }
259 void CheckerDocumentation::checkPostStmt(const CallExpr *DS,
H A DBuiltinFunctionChecker.cpp27 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE,
H A DMallocChecker.cpp99 check::PreStmt<CallExpr>,
100 check::PostStmt<CallExpr>,
128 void checkPreStmt(const CallExpr *S, CheckerContext &C) const;
129 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
164 const CallExpr *CE,
166 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE,
174 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE,
180 const CallExpr *CE,
183 ProgramStateRef FreeMemAttr(CheckerContext &C, const CallExpr *CE,
185 ProgramStateRef FreeMemAux(CheckerContext &C, const CallExpr *C
324 getMessageForReturn(const CallExpr *CallExpr) argument
[all...]
H A DCStringChecker.cpp58 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 *C
[all...]
H A DMallocSizeofChecker.cpp30 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
42 const CallExpr *AllocCall;
46 const CallExpr *AllocCall)
91 TypeCallPair VisitCallExpr(const CallExpr *E) {
188 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
H A DOSAtomicChecker.cpp27 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,
H A DObjCContainersASTChecker.cpp83 void VisitCallExpr(CallExpr *CE);
87 static StringRef getCalleeName(CallExpr *CE) {
99 void WalkAST::VisitCallExpr(CallExpr *CE) {
/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp10 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/ARCMigrate/
H A DTransUnbridgedCasts.cpp118 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) {
259 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) {
269 CallExpr *callE;
329 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const {
330 if ((callE = dyn_cast_or_null<CallExpr>(
343 if (CallExpr *callE = dyn_cast_or_null<CallExpr>(
H A DTransGCCalls.cpp37 bool VisitCallExpr(CallExpr *E) {
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const {

Completed in 294 milliseconds

12345