Skip to content

Commit c8e8ac0

Browse files
committed
C++: Make sphinx happy.
1 parent 9a6fc96 commit c8e8ac0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Flow from a qualifier to a field access
102102
However, sometimes the writes or reads are not visible to CodeQL (for example, because the implementation of the function isn't included in the database), and so dataflow won't be able to match up all stores with reads, and thus you don't get the result you want. For example, consider an alternative setup where our source of data starts as the outgoing argument of a function `write_user_input_to`. We can model this setup in the dataflow library using the following ``isSource``:
103103

104104
.. code-block:: ql
105+
105106
predicate isSource(DataFlow::Node source) {
106107
exists(Call call |
107108
call.getTarget().hasName("write_user_input_to") and

0 commit comments

Comments
 (0)