You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -179,7 +179,7 @@ Note that this source is already known by the CodeQL Python analysis, but for th
179
179
- The second column is an access path that is evaluated from left to right, starting at the values that were identified by the first column.
180
180
181
181
- **Call** selects calls to the class. That is, constructor calls.
182
-
- **Argument[upload_to:]** selects the named argument named **upload_to**. Note that the colon at the end of the argument name indicates that we are looking for a named argument.
182
+
- **Argument[0,upload_to:]** selects the first positional argument, or the named argument named **upload_to**. Note that the colon at the end of the argument name indicates that we are looking for a named argument.
183
183
- **Parameter[1,filename:]** selects parameters of the callback function. We provide two parameters to search for, namely the second positional parameter and the named parameter **filename**.
184
184
185
185
- Finally, the kind **remote** indicates that this is considered a source of remote flow.
@@ -215,7 +215,7 @@ Note that this flow is already recognized by the CodeQL Python analysis, but for
215
215
216
216
217
217
- Since we're adding flow through a function call, we add a tuple to the **summaryModel** extensible predicate.
218
-
- The first column, **"re"**, begins the search for relevant calls at places where the **re** package is imported.
218
+
- The first column, **re**, begins the search for relevant calls at places where the **re** package is imported.
219
219
- The second column, **Member[compile]**, is a path leading to the function calls we wish to model.
220
220
In this case, we select references to the **compile** function from the `re` package.
221
221
- The third column, **Argument[0,pattern:]**, indicates the input of the flow. In this case, either the first argument to the function call or the argument named **pattern**.
0 commit comments