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

Predicate elementWriteStep

Holds if there is an assignment of the form succ[idx] = pred, meaning that pred may taint succ.

Import path

import semmle.go.dataflow.internal.TaintTrackingUtil
predicate elementWriteStep(Node pred, Node succ)