Lines Matching refs:CheckerContext
201 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
202 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
203 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const;
204 void checkPreStmt(const CXXDeleteExpr *DE, CheckerContext &C) const;
205 void checkPostObjCMessage(const ObjCMethodCall &Call, CheckerContext &C) const;
206 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
207 void checkDeadSymbols(SymbolReaper &SymReaper, CheckerContext &C) const;
208 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
212 CheckerContext &C) const;
246 AllocationFamily getAllocationFamily(CheckerContext &C, const Stmt *S) const;
251 bool printAllocDeallocName(raw_ostream &os, CheckerContext &C,
256 void printExpectedAllocName(raw_ostream &os, CheckerContext &C,
274 ProgramStateRef ProcessZeroAllocation(CheckerContext &C, const Expr *E,
278 ProgramStateRef MallocMemReturnsAttr(CheckerContext &C,
282 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE,
286 static ProgramStateRef MallocMemAux(CheckerContext &C, const CallExpr *CE,
294 performKernelMalloc(const CallExpr *CE, CheckerContext &C,
299 MallocUpdateRefState(CheckerContext &C, const Expr *E, ProgramStateRef State,
302 ProgramStateRef FreeMemAttr(CheckerContext &C, const CallExpr *CE,
305 ProgramStateRef FreeMemAux(CheckerContext &C, const CallExpr *CE,
310 ProgramStateRef FreeMemAux(CheckerContext &C, const Expr *Arg,
317 ProgramStateRef ReallocMem(CheckerContext &C, const CallExpr *CE,
320 static ProgramStateRef CallocMem(CheckerContext &C, const CallExpr *CE,
324 bool isReleased(SymbolRef Sym, CheckerContext &C) const;
326 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const;
328 void checkUseZeroAllocated(SymbolRef Sym, CheckerContext &C,
331 bool checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const;
360 Optional<CheckKind> getCheckIfTracked(CheckerContext &C,
363 Optional<CheckKind> getCheckIfTracked(CheckerContext &C, SymbolRef Sym,
368 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
370 void ReportFreeAlloca(CheckerContext &C, SVal ArgVal,
372 void ReportMismatchedDealloc(CheckerContext &C, SourceRange Range,
375 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
378 void ReportUseAfterFree(CheckerContext &C, SourceRange Range,
380 void ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released,
383 void ReportDoubleDelete(CheckerContext &C, SymbolRef Sym) const;
385 void ReportUseZeroAllocated(CheckerContext &C, SourceRange Range,
391 CheckerContext &C) const;
393 void reportLeak(SymbolRef Sym, ExplodedNode *N, CheckerContext &C) const;
671 const CallExpr *CE, CheckerContext &C, const ProgramStateRef &State) const { in performKernelMalloc()
748 void MallocChecker::checkPostStmt(const CallExpr *CE, CheckerContext &C) const { in checkPostStmt()
861 ProgramStateRef MallocChecker::ProcessZeroAllocation(CheckerContext &C, in ProcessZeroAllocation()
963 CheckerContext &C) const { in checkPostStmt()
990 CheckerContext &C) const { in checkPreStmt()
1031 CheckerContext &C) const { in checkPostObjCMessage()
1052 MallocChecker::MallocMemReturnsAttr(CheckerContext &C, const CallExpr *CE, in MallocMemReturnsAttr()
1068 ProgramStateRef MallocChecker::MallocMemAux(CheckerContext &C, in MallocMemAux()
1080 ProgramStateRef MallocChecker::MallocMemAux(CheckerContext &C, in MallocMemAux()
1124 ProgramStateRef MallocChecker::MallocUpdateRefState(CheckerContext &C, in MallocUpdateRefState()
1145 ProgramStateRef MallocChecker::FreeMemAttr(CheckerContext &C, in FreeMemAttr()
1167 ProgramStateRef MallocChecker::FreeMemAux(CheckerContext &C, in FreeMemAux()
1199 AllocationFamily MallocChecker::getAllocationFamily(CheckerContext &C, in getAllocationFamily()
1244 bool MallocChecker::printAllocDeallocName(raw_ostream &os, CheckerContext &C, in printAllocDeallocName()
1284 void MallocChecker::printExpectedAllocName(raw_ostream &os, CheckerContext &C, in printExpectedAllocName()
1310 ProgramStateRef MallocChecker::FreeMemAux(CheckerContext &C, in FreeMemAux()
1493 MallocChecker::getCheckIfTracked(CheckerContext &C, in getCheckIfTracked()
1501 MallocChecker::getCheckIfTracked(CheckerContext &C, SymbolRef Sym, in getCheckIfTracked()
1598 void MallocChecker::ReportBadFree(CheckerContext &C, SVal ArgVal, in ReportBadFree()
1644 void MallocChecker::ReportFreeAlloca(CheckerContext &C, SVal ArgVal, in ReportFreeAlloca()
1670 void MallocChecker::ReportMismatchedDealloc(CheckerContext &C, in ReportMismatchedDealloc()
1725 void MallocChecker::ReportOffsetFree(CheckerContext &C, SVal ArgVal, in ReportOffsetFree()
1782 void MallocChecker::ReportUseAfterFree(CheckerContext &C, SourceRange Range, in ReportUseAfterFree()
1808 void MallocChecker::ReportDoubleFree(CheckerContext &C, SourceRange Range, in ReportDoubleFree()
1839 void MallocChecker::ReportDoubleDelete(CheckerContext &C, SymbolRef Sym) const { in ReportDoubleDelete()
1862 void MallocChecker::ReportUseZeroAllocated(CheckerContext &C, in ReportUseZeroAllocated()
1892 ProgramStateRef MallocChecker::ReallocMem(CheckerContext &C, in ReallocMem()
1997 ProgramStateRef MallocChecker::CallocMem(CheckerContext &C, const CallExpr *CE, in CallocMem()
2018 CheckerContext &C) const { in getAllocationSite()
2059 CheckerContext &C) const { in reportLeak()
2127 CheckerContext &C) const in checkDeadSymbols()
2182 CheckerContext &C) const { in checkPreCall()
2228 void MallocChecker::checkPreStmt(const ReturnStmt *S, CheckerContext &C) const { in checkPreStmt()
2256 CheckerContext &C) const { in checkPostStmt()
2292 bool MallocChecker::isReleased(SymbolRef Sym, CheckerContext &C) const { in isReleased()
2298 bool MallocChecker::checkUseAfterFree(SymbolRef Sym, CheckerContext &C, in checkUseAfterFree()
2309 void MallocChecker::checkUseZeroAllocated(SymbolRef Sym, CheckerContext &C, in checkUseZeroAllocated()
2322 bool MallocChecker::checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const { in checkDoubleDelete()
2333 CheckerContext &C) const { in checkLocation()