CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Predicate InsecureFeatureFlag::astNodeIsFlag

Holds if node involves a string of kind flagKind.

Import path

import semmle.go.security.InsecureFeatureFlag
predicate astNodeIsFlag(AstNode node, FlagKind flagKind)