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

Member predicate CallExpr::getCalleeType

Gets the signature type of the invoked function.

Note that it avoids calling getTarget() so that it works even when that predicate isn’t defined, for example when calling a variable with function type.

SignatureType getCalleeType()