Lines Matching refs:ChrootChecker
41 class ChrootChecker : public Checker<eval::Call, check::PreStmt<CallExpr> > { class
47 ChrootChecker() : II_chroot(nullptr), II_chdir(nullptr) {} in ChrootChecker() function in __anon471f24b40111::ChrootChecker
64 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const { in evalCall()
87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { in Chroot()
93 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in Chroot()
97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const { in Chdir()
102 const void *k = state->FindGDM(ChrootChecker::getTag()); in Chdir()
115 state = Mgr.addGDM(state, ChrootChecker::getTag(), in Chdir()
124 void ChrootChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const { in checkPreStmt()
140 void *const* k = C.getState()->FindGDM(ChrootChecker::getTag()); in checkPreStmt()
156 mgr.registerChecker<ChrootChecker>(); in registerChrootChecker()