Skip to content

Commit 4a4c77e

Browse files
committed
Remove claims about models-as-data that require you to select a parameter from non-Java languages. We believe this is only possible in Java.
1 parent 45ce988 commit 4a4c77e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/ExternalFlow.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,13 @@
4747
*
4848
* For sources, an `output` can be either "", "Argument[n]", "Argument[n1..n2]",
4949
* "Parameter", "Parameter[n]", "Parameter[n1..n2]", or "ReturnValue":
50-
* - "": Selects a read of a selected field, property, or parameter.
50+
* - "": Selects a read of a selected field or property.
5151
* - "Argument[n]": Selects the post-update value of an argument in a call to the
5252
* selected element. That is, the value of the argument after the call returns.
5353
* The arguments are zero-indexed, and `this` specifies the qualifier.
5454
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
5555
* the given range. The range is inclusive at both ends.
5656
* - "Parameter": Selects the value of a parameter of the selected element.
57-
* "Parameter" is also allowed in case the selected element is already a
58-
* parameter itself.
5957
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
6058
* numbered parameter (zero-indexed, and `this` specifies the value of `this`).
6159
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@
3434
* An `output` can be either "", "Argument[n]", "Argument[n1..n2]", "Parameter",
3535
* "Parameter[n]", "Parameter[n1..n2]", , "ReturnValue", "ReturnValue[n]", or
3636
* "ReturnValue[n1..n2]":
37-
* - "": Selects a read of a selected field, or a selected parameter.
37+
* - "": Selects a read of a selected field.
3838
* - "Argument[n]": Selects the post-update value of an argument in a call to the
3939
* selected element. That is, the value of the argument after the call returns.
4040
* The arguments are zero-indexed, and `-1` specifies the qualifier.
4141
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
4242
* the given range. The range is inclusive at both ends.
4343
* - "Parameter": Selects the value of a parameter of the selected element.
44-
* "Parameter" is also allowed in case the selected element is already a
45-
* parameter itself.
4644
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
4745
* numbered parameter (zero-indexed, and `-1` specifies the value of `this`).
4846
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter

swift/ql/lib/codeql/swift/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,13 @@
4444
*
4545
* An `output` can be either "", "Argument[n]", "Argument[n1..n2]", "Parameter",
4646
* "Parameter[n]", "Parameter[n1..n2]", or "ReturnValue":
47-
* - "": Selects a read of a selected field, or a selected parameter.
47+
* - "": Selects a read of a selected field.
4848
* - "Argument[n]": Selects the post-update value of an argument in a call to the
4949
* selected element. That is, the value of the argument after the call returns.
5050
* The arguments are zero-indexed, and `-1` specifies the qualifier.
5151
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
5252
* the given range. The range is inclusive at both ends.
5353
* - "Parameter": Selects the value of a parameter of the selected element.
54-
* "Parameter" is also allowed in case the selected element is already a
55-
* parameter itself.
5654
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
5755
* numbered parameter (zero-indexed, and `-1` specifies the value of `this`).
5856
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter

0 commit comments

Comments
 (0)