mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Update docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst
Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
@@ -98,7 +98,7 @@ local flow. To get just the *calls* to ``re.compile``, you can use ``asSource``
|
||||
``API::CallNode``, which deserves a small description of its own.
|
||||
|
||||
``API::CallNode``s are not ``API::Node``s. Instead they are ``DataFlow::Node``s with some convenience
|
||||
predicates that allows you to recover ``API::Node``s for the return value as well as for parameters
|
||||
predicates that allows you to recover ``API::Node``s for the return value as well as for arguments
|
||||
to the call. This enables you to constrain the call in various ways using the API graph. The following
|
||||
snippet finds all calls to ``re.compile`` where the ``pattern`` argument comes from parsing a command
|
||||
line argument using the ``argparse`` library.
|
||||
|
||||
Reference in New Issue
Block a user