Home | History | Annotate | Download | only in Checkers

Lines Matching refs:CE

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;
56 const CallExpr *CE,
91 void UnixAPIChecker::CheckOpen(CheckerContext &C, const CallExpr *CE) const {
94 if (CE->getNumArgs() < 2) {
98 } else if (CE->getNumArgs() == 3) {
99 const Expr *Arg = CE->getArg(2);
107 } else if (CE->getNumArgs() > 3) {
110 CE->getArg(3)->getSourceRange());
130 const Expr *oflagsEx = CE->getArg(1);
156 if (CE->getNumArgs() < 3) {
169 const CallExpr *CE) const {
174 if (CE->getNumArgs() < 1)
181 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion();
204 report->addRange(CE->getArg(0)->getSourceRange());
256 const CallExpr *CE,
261 if (CE->getNumArgs() != numArgs)
267 const Expr *arg = CE->getArg(sizeArg);
285 const CallExpr *CE) const {
286 unsigned int nArgs = CE->getNumArgs();
295 const Expr *arg = CE->getArg(i);
321 const CallExpr *CE) const {
322 BasicAllocationCheck(C, CE, 1, 0, "malloc");
326 const CallExpr *CE) const {
327 BasicAllocationCheck(C, CE, 2, 1, "realloc");
331 const CallExpr *CE) const {
332 BasicAllocationCheck(C, CE, 2, 1, "reallocf");
336 const CallExpr *CE) const {
337 BasicAllocationCheck(C, CE, 1, 0, "alloca");
341 const CallExpr *CE) const {
342 BasicAllocationCheck(C, CE, 1, 0, "valloc");
350 void UnixAPIChecker::checkPreStmt(const CallExpr *CE,
352 const FunctionDecl *FD = C.getCalleeDecl(CE);
373 (this->*SC)(C, CE);