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

Predicate Internal::defAt

Holds if the ith node of bb defines v.

Import path

import semmle.go.dataflow.SsaImpl
predicate defAt(ReachableBasicBlock bb, int i, SsaSourceVariable v)