Skip to content

Commit b27a3a8

Browse files
committed
Python: Adjust to use the qlpack data-flow api.
1 parent 21eb78e commit b27a3a8

File tree

8 files changed

+27
-6684
lines changed

8 files changed

+27
-6684
lines changed

python/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extractor: python
66
library: true
77
upgrades: upgrades
88
dependencies:
9+
codeql/dataflow: ${workspace}
910
codeql/mad: ${workspace}
1011
codeql/regex: ${workspace}
1112
codeql/tutorial: ${workspace}

python/ql/lib/semmle/python/dataflow/new/DataFlow.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ private import python
2222
* global (inter-procedural) data flow analyses.
2323
*/
2424
module DataFlow {
25-
import internal.DataFlow
25+
private import internal.DataFlowImplSpecific
26+
private import codeql.dataflow.DataFlow
27+
import DataFlowMake<PythonDataFlow>
2628
import internal.DataFlowImpl1
2729
}

0 commit comments

Comments
 (0)