Lines Matching refs:UnixAPIChecker
32 class UnixAPIChecker : public Checker< check::PreStmt<CallExpr> > { class
48 typedef void (UnixAPIChecker::*SubChecker)(CheckerContext &,
76 void UnixAPIChecker::ReportOpenBug(CheckerContext &C, in ReportOpenBug()
91 void UnixAPIChecker::CheckOpen(CheckerContext &C, const CallExpr *CE) const { in CheckOpen()
168 void UnixAPIChecker::CheckPthreadOnce(CheckerContext &C, in CheckPthreadOnce()
230 bool UnixAPIChecker::ReportZeroByteAllocation(CheckerContext &C, in ReportZeroByteAllocation()
255 void UnixAPIChecker::BasicAllocationCheck(CheckerContext &C, in BasicAllocationCheck()
284 void UnixAPIChecker::CheckCallocZero(CheckerContext &C, in CheckCallocZero()
320 void UnixAPIChecker::CheckMallocZero(CheckerContext &C, in CheckMallocZero()
325 void UnixAPIChecker::CheckReallocZero(CheckerContext &C, in CheckReallocZero()
330 void UnixAPIChecker::CheckReallocfZero(CheckerContext &C, in CheckReallocfZero()
335 void UnixAPIChecker::CheckAllocaZero(CheckerContext &C, in CheckAllocaZero()
340 void UnixAPIChecker::CheckVallocZero(CheckerContext &C, in CheckVallocZero()
350 void UnixAPIChecker::checkPreStmt(const CallExpr *CE, in checkPreStmt()
362 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt()
363 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) in checkPreStmt()
364 .Case("calloc", &UnixAPIChecker::CheckCallocZero) in checkPreStmt()
365 .Case("malloc", &UnixAPIChecker::CheckMallocZero) in checkPreStmt()
366 .Case("realloc", &UnixAPIChecker::CheckReallocZero) in checkPreStmt()
367 .Case("reallocf", &UnixAPIChecker::CheckReallocfZero) in checkPreStmt()
368 .Cases("alloca", "__builtin_alloca", &UnixAPIChecker::CheckAllocaZero) in checkPreStmt()
369 .Case("valloc", &UnixAPIChecker::CheckVallocZero) in checkPreStmt()
381 mgr.registerChecker<UnixAPIChecker>(); in registerUnixAPIChecker()