Skip to content

Commit df406b4

Browse files
committed
python: Start modelling using MaD
- empty models for now - `summaryModel` of `codeql/python-all` will be added to shortly.
1 parent 6a3bb4d commit df406b4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

python/ql/lib/ext/StdLib.model.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/python-all
4+
extensible: sourceModel
5+
data: []
6+
7+
- addsTo:
8+
pack: codeql/python-all
9+
extensible: sinkModel
10+
data: []
11+
12+
- addsTo:
13+
pack: codeql/python-all
14+
extensible: summaryModel
15+
data: []
16+
17+
- addsTo:
18+
pack: codeql/python-all
19+
extensible: neutralModel
20+
data: []
21+
22+
- addsTo:
23+
pack: codeql/python-all
24+
extensible: typeModel
25+
data: []
26+
27+
- addsTo:
28+
pack: codeql/python-all
29+
extensible: typeVariableModel
30+
data: []

python/ql/lib/qlpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ dependencies:
1515
codeql/yaml: ${workspace}
1616
dataExtensions:
1717
- semmle/python/frameworks/**/*.model.yml
18+
- ext/*.model.yml
19+
- ext/generated/*.model.yml
1820
warnOnImplicitThis: true

0 commit comments

Comments
 (0)