зеркало из https://github.com/github/codeql.git
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Родитель
8812567c69
Коммит
3b6c43c9a1
|
@ -238,7 +238,7 @@ Using asExpr
|
|||
|
||||
Alternatively, this flow could also be tracked by:
|
||||
1. Changing ``isAdditionalFlowStep`` so that it targets the dataflow node that represents the value of the ``FieldAccess`` instead of the value it points to, and
|
||||
2. Changing ``isSink`` so specify that we're interested in tracking the value the argument passed to ``use_pointer`` (instead of the value of what the argument points to).
|
||||
2. Changing ``isSink`` to specify that we're interested in tracking the value the argument passed to ``use_pointer`` (instead of the value of what the argument points to).
|
||||
|
||||
With those changes our QL query becomes:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче