Home
last modified time | relevance | path

Searched refs:LastSetPrivilegeCall (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSetgidSetuidOrderChecker.cpp71 REGISTER_TRAIT_WITH_PROGRAMSTATE(LastSetPrivilegeCall, SetPrivilegeFunctionKind) in REGISTER_TRAIT_WITH_PROGRAMSTATE() argument
114 State = State->set<LastSetPrivilegeCall>(Irrelevant); in evalAssume()
124 if (State->get<LastSetPrivilegeCall>() != Setgid && IsSetuidWithGetuid) { in processSetuid()
126 State = State->set<LastSetPrivilegeCall>(Setuid); in processSetuid()
137 State = State->set<LastSetPrivilegeCall>(Irrelevant); in processSetuid()
146 if (State->get<LastSetPrivilegeCall>() == Setuid) { in processSetgid()
148 State = State->set<LastSetPrivilegeCall>(Irrelevant); in processSetgid()
152 State = State->set<LastSetPrivilegeCall>(Irrelevant); in processSetgid()
154 State = State->set<LastSetPrivilegeCall>(IsSetgidWithGetgid ? Setgid in processSetgid()
165 State = State->set<LastSetPrivilegeCall>(Irrelevant); in processOther()