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

Member predicate DataFlowCall::getStaticCallTarget

Gets the target of this call. We use the following strategy for deciding between the source callable and a summarized callable:

  • If there is a manual summary then we always use the manual summary.
  • If there is a source callable and we only have generated summaries we use the source callable.
  • If there is no source callable then we use the summary regardless of whether is it manual or generated.
DataFlowCallable getStaticCallTarget()