We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
py/use-of-input
1 parent fad55b3 commit 79cfe5aCopy full SHA for 79cfe5a
python/ql/src/Expressions/UseofInput.ql
@@ -16,6 +16,7 @@ import semmle.python.ApiGraphs
16
17
from DataFlow::CallCfgNode call
18
where
19
+ major_version() = 2 and
20
call = API::builtin("input").getACall() and
21
call != API::builtin("raw_input").getACall()
22
select call, "The unsafe built-in function 'input' is used in Python 2."
0 commit comments