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

Injector Internal::TCapture

An SSA definition representing the capturing of an SSA-convertible variable in the closure of a nested function.

Capturing definitions appear at the beginning of such functions, as well as at any function call that may affect the value of the variable.

Import path

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