mirror of
https://github.com/github/codeql.git
synced 2026-04-06 15:44:01 +02:00
Python: Add threat-modeling of raw_input
This commit is contained in:
@@ -14,6 +14,8 @@ extensions:
|
||||
|
||||
- ['sys', 'Member[stdin]', 'stdin']
|
||||
- ['builtins', 'Member[input].ReturnValue', 'stdin']
|
||||
- ['builtins', 'Member[raw_input].ReturnValue', 'stdin'] # python 2 only
|
||||
|
||||
|
||||
# if no argument is given, the default is to use sys.argv[1:]
|
||||
- ['argparse.ArgumentParser', 'Member[parse_args,parse_known_args].WithArity[0].ReturnValue', 'commandargs']
|
||||
|
||||
Reference in New Issue
Block a user