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

Predicate Cached::sourceNode

Holds if node is specified as a source with the given kind in a MaD flow model.

Import path

import semmle.go.dataflow.ExternalFlow
predicate sourceNode(Node node, string kind, string model)