Skip to content

Commit da86668

Browse files
committed
(Multiple languages) Use slightly clearer wording
1 parent 7ff9fcb commit da86668

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/codeql/codeql-language-guides/analyzing-data-flow-in-csharp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Unfortunately this will only give the expression in the argument, not the values
103103
and DataFlow::localFlow(DataFlow::exprNode(src), DataFlow::exprNode(call.getArgument(0)))
104104
select src
105105
106-
Then we can make the source more specific, for example an access to a public parameter. This query finds instances where a public parameter is used to open a file:
106+
To restrict sources to only an access to a public parameter, rather than arbitrary expressions, we can modify this query as follows:
107107

108108
.. code-block:: ql
109109

docs/codeql/codeql-language-guides/analyzing-data-flow-in-go.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Unfortunately, this only gives the expression in the argument, not the values wh
117117
DataFlow::localFlow(DataFlow::exprNode(src), DataFlow::exprNode(call.getArgument(0)))
118118
select src
119119
120-
Then we can make the source more specific, for example an access to a parameter. This query finds where a public parameter is passed to ``os.Open(..)``:
120+
To restrict sources to only parameters, rather than arbitrary expressions, we can modify this query as follows:
121121

122122
.. code-block:: ql
123123

docs/codeql/codeql-language-guides/analyzing-data-flow-in-java.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Unfortunately, this only gives the expression in the argument, not the values wh
122122
DataFlow::localFlow(DataFlow::exprNode(src), DataFlow::exprNode(call.getArgument(0)))
123123
select src
124124
125-
Then we can make the source more specific, for example an access to a public parameter. This query finds where a public parameter is passed to ``new FileReader(..)``:
125+
To restrict sources to only an access to a public parameter, rather than arbitrary expressions, we can modify this query as follows:
126126

127127
.. code-block:: ql
128128

0 commit comments

Comments
 (0)