Module InsecureFeatureFlag
Provides classes and predicates relating to flags that may indicate security expectations.
Import path
import semmle.go.security.InsecureFeatureFlag
Predicates
astNodeIsFlag | Holds if |
exprIsFlag | Holds for string literals or named values matching |
getASecurityFeatureFlagCheck | Gets a control-flow node that represents a (likely) security feature-flag check |
Classes
FlagKind | A kind of flag that may indicate security expectations regarding the code it guards. |
SecurityFeatureFlag | A flag suggesting an optional feature, perhaps deliberately insecure. |