mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Update docs/language/ql-training/cpp/program-representation-cpp.rst
Co-Authored-By: shati-patel <42641846+shati-patel@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ Working with functions
|
||||
|
||||
Functions are represented by the Function class. Each declaration or definition of a function is represented by a ``FunctionDeclarationEntry``.
|
||||
|
||||
Calls to functions are modeled by CodeQL class ``Call`` and its subclasses:
|
||||
Calls to functions are modeled by the CodeQL class ``Call`` and its subclasses:
|
||||
|
||||
- ``Call.getTarget()`` gets the declared target of the call; undefined for calls through function pointers
|
||||
- ``Function.getACallToThisFunction()`` gets a call to this function
|
||||
|
||||
Reference in New Issue
Block a user