Skip to content

Commit 501cda4

Browse files
committed
Python: model fnmatch.filter
1 parent 2118f23 commit 501cda4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/ql/lib/semmle/python/frameworks/Stdlib/StdLib.model.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ extensions:
1313
pack: codeql/python-all
1414
extensible: summaryModel
1515
data:
16+
# See See https://docs.python.org/3/library/fnmatch.html#fnmatch.filter
17+
- ["fnmatch", "Member[filter]", "Argument[0,names:].ListElement", "ReturnValue.ListElement", "value"]
18+
- ["fnmatch", "Member[filter]", "Argument[0,names:]", "ReturnValue", "taint"]
1619
# See https://docs.python.org/3/library/optparse.html#optparse.OptionParser.parse_args
1720
- ["optparse.OptionParser", "Member[parse_args]", "Argument[0,args:,1,values:]", "ReturnValue.TupleElement[0,1]", "taint"]
1821
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote

0 commit comments

Comments
 (0)