File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow
go/ql/lib/semmle/go/dataflow Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 62
62
* in the given range. The range is inclusive at both ends.
63
63
* - "ReturnValue": Selects the return value of a call to the selected element.
64
64
*
65
- * For summaries, `input` and `output` may be prefixed by one of the following,
66
- * separated by the "of" keyword :
65
+ * For summaries, `input` and `output` may be suffixed by any number of the
66
+ * following, separated by "." :
67
67
* - "Element": Selects an element in a collection.
68
68
* - "Field[f]": Selects the contents of field `f`.
69
69
* - "Property[p]": Selects the contents of property `p`.
Original file line number Diff line number Diff line change 54
54
* return value. The return values are zero-indexed
55
55
* - "ReturnValue[n1..n2]": Similar to "ReturnValue[n]" but selects any
56
56
* return value in the given range. The range is inclusive at both ends.
57
+ *
58
+ * For summaries, `input` and `output` may be suffixed by any number of the
59
+ * following, separated by ".":
60
+ * - "Field[pkg.className.fieldname]": Selects the contents of the field `f`
61
+ * which satisfies `f.hasQualifiedName(pkg, className, fieldname)`.
62
+ * - "SyntheticField[f]": Selects the contents of the synthetic field `f`.
63
+ * - "ArrayElement": Selects an element in an array or slice.
64
+ * - "Element": Selects an element in a collection.
65
+ * - "MapKey": Selects a key in a map.
66
+ * - "MapValue": Selects a value in a map.
67
+ * - "Dereference": Selects the value referenced by a pointer.
68
+ *
57
69
* 8. The `kind` column is a tag that can be referenced from QL to determine to
58
70
* which classes the interpreted elements should be added. For example, for
59
71
* sources "remote" indicates a default remote flow source, and for summaries
You can’t perform that action at this time.
0 commit comments