mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Python: Model builtin open function better
This commit is contained in:
@@ -6,12 +6,12 @@ open(file="filepath") # $getAPathArgument="filepath"
|
||||
|
||||
o = open
|
||||
|
||||
o("filepath") # $ MISSING: getAPathArgument="filepath"
|
||||
o(file="filepath") # $ MISSING: getAPathArgument="filepath"
|
||||
o("filepath") # $getAPathArgument="filepath"
|
||||
o(file="filepath") # $getAPathArgument="filepath"
|
||||
|
||||
|
||||
builtins.open("filepath") # $ MISSING: getAPathArgument="filepath"
|
||||
builtins.open(file="filepath") # $ MISSING: getAPathArgument="filepath"
|
||||
builtins.open("filepath") # $getAPathArgument="filepath"
|
||||
builtins.open(file="filepath") # $getAPathArgument="filepath"
|
||||
|
||||
|
||||
io.open("filepath") # $ MISSING: getAPathArgument="filepath"
|
||||
|
||||
Reference in New Issue
Block a user