CodeQL library for C/C++
codeql/cpp-all 2.1.1-dev (changelog, source)
Search

Member predicate CallInstruction::getCallTarget

Gets the Instruction that computes the target function of the call. This is usually a FunctionAddress instruction, but can also be an arbitrary instruction that produces a function pointer.

Instruction getCallTarget()