CodeQL library for Go
codeql/go-all 2.1.3 (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()