Conversation
This interface works better when defining the DFG edges in the next commit
Adding this directly in the DataFlow module would expose it publicly via the `DataFlow::` prefix which does not seem desirable. We just want to be able to access it ourselves, so I've put it in its own file.
| private import codeql.dataflow.PrintDfg | ||
| import MakePrintDfg<Location, JSDataFlow, JSTaintFlow> | ||
|
|
||
| external string selectedSourceFile(); |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| external string selectedSourceFile(); | ||
|
|
||
| private predicate selectedSourceFileAlias = selectedSourceFile/0; |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| private predicate selectedSourceFileAlias = selectedSourceFile/0; | ||
|
|
||
| external int selectedSourceLine(); |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| external int selectedSourceLine(); | ||
|
|
||
| private predicate selectedSourceLineAlias = selectedSourceLine/0; |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| private predicate selectedSourceLineAlias = selectedSourceLine/0; | ||
|
|
||
| external int selectedSourceColumn(); |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| external int selectedSourceColumn(); | ||
|
|
||
| private predicate selectedSourceColumnAlias = selectedSourceColumn/0; |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| private predicate selectedSourceColumnAlias = selectedSourceColumn/0; | ||
|
|
||
| module ViewCfgQueryInput implements ViewGraphQueryInputSig<File> { |
Check warning
Code scanning / CodeQL
Dead code Warning
| predicate selectedSourceColumn = selectedSourceColumnAlias/0; | ||
|
|
||
| predicate cfgScopeSpan( | ||
| predicate callableSpan( |
Check warning
Code scanning / CodeQL
Dead code Warning
|
|
||
| private import codeql.util.Location | ||
| private import codeql.dataflow.DataFlow as DF | ||
| private import codeql.dataflow.TaintTracking as TT |
Check warning
Code scanning / CodeQL
Names only differing by case Warning
Adds the queries called by github/vscode-codeql#4305