Lines Matching refs:UnixAPIChecker
43 class UnixAPIChecker : public Checker< check::PreStmt<CallExpr> > { class
64 typedef void (UnixAPIChecker::*SubChecker)(CheckerContext &,
96 void UnixAPIChecker::ReportOpenBug(CheckerContext &C, in ReportOpenBug()
111 void UnixAPIChecker::CheckOpen(CheckerContext &C, const CallExpr *CE) const { in CheckOpen()
115 void UnixAPIChecker::CheckOpenAt(CheckerContext &C, const CallExpr *CE) const { in CheckOpenAt()
119 void UnixAPIChecker::CheckOpenVariant(CheckerContext &C, in CheckOpenVariant()
239 void UnixAPIChecker::CheckPthreadOnce(CheckerContext &C, in CheckPthreadOnce()
300 bool UnixAPIChecker::ReportZeroByteAllocation(CheckerContext &C, in ReportZeroByteAllocation()
325 void UnixAPIChecker::BasicAllocationCheck(CheckerContext &C, in BasicAllocationCheck()
354 void UnixAPIChecker::CheckCallocZero(CheckerContext &C, in CheckCallocZero()
390 void UnixAPIChecker::CheckMallocZero(CheckerContext &C, in CheckMallocZero()
395 void UnixAPIChecker::CheckReallocZero(CheckerContext &C, in CheckReallocZero()
400 void UnixAPIChecker::CheckReallocfZero(CheckerContext &C, in CheckReallocfZero()
405 void UnixAPIChecker::CheckAllocaZero(CheckerContext &C, in CheckAllocaZero()
410 void UnixAPIChecker::CheckAllocaWithAlignZero(CheckerContext &C, in CheckAllocaWithAlignZero()
415 void UnixAPIChecker::CheckVallocZero(CheckerContext &C, in CheckVallocZero()
425 void UnixAPIChecker::checkPreStmt(const CallExpr *CE, in checkPreStmt()
444 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt()
445 .Case("openat", &UnixAPIChecker::CheckOpenAt) in checkPreStmt()
446 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) in checkPreStmt()
454 .Case("calloc", &UnixAPIChecker::CheckCallocZero) in checkPreStmt()
455 .Case("malloc", &UnixAPIChecker::CheckMallocZero) in checkPreStmt()
456 .Case("realloc", &UnixAPIChecker::CheckReallocZero) in checkPreStmt()
457 .Case("reallocf", &UnixAPIChecker::CheckReallocfZero) in checkPreStmt()
459 &UnixAPIChecker::CheckAllocaZero) in checkPreStmt()
461 &UnixAPIChecker::CheckAllocaWithAlignZero) in checkPreStmt()
462 .Case("valloc", &UnixAPIChecker::CheckVallocZero) in checkPreStmt()
475 mgr.registerChecker<UnixAPIChecker>()->Check##Name = true; \