mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Python: Remove BuiltinFunctionObject module as it is clearer and more concise to use ModuleObject::builtin().
This commit is contained in:
@@ -14,5 +14,5 @@ import python
|
||||
|
||||
from CallNode call, Context context, ControlFlowNode func
|
||||
where
|
||||
context.getAVersion().includes(2, _) and call.getFunction() = func and func.refersTo(context, BuiltinFunctionObject::input(), _, _)
|
||||
context.getAVersion().includes(2, _) and call.getFunction() = func and func.refersTo(context, Object::builtin("input"), _, _)
|
||||
select call, "The unsafe built-in function 'input' is used."
|
||||
|
||||
Reference in New Issue
Block a user