Home | History | Annotate | Download | only in Checkers

Lines Matching refs:Chdir

37 // NO_CHROOT ---chroot(path)--> ROOT_CHANGED ---chdir(/) --> JAIL_ENTERED
39 // ROOT_CHANGED<--chdir(..)-- JAIL_ENTERED<--chdir(..)--
60 void Chdir(CheckerContext &C, const CallExpr *CE) const;
74 II_chdir = &Ctx.Idents.get("chdir");
81 Chdir(C, CE);
98 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const {
107 // After chdir("/"), enter the jail, set the enum value JAIL_ENTERED.
124 // Check the jail state before any function call except chroot and chdir().
134 II_chdir = &Ctx.Idents.get("chdir");
136 // Ingnore chroot and chdir.
147 this, "Break out of jail", "No call of chdir(\"/\") immediately "