mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Python: Use new API::builtin in stdlib modeling
This commit is contained in:
@@ -8,4 +8,4 @@ def eval(*args, **kwargs):
|
||||
|
||||
|
||||
# This function call might be marked as a code execution, but it actually isn't.
|
||||
eval("print(42)") # $ SPURIOUS: getCode="print(42)"
|
||||
eval("print(42)")
|
||||
|
||||
@@ -10,4 +10,4 @@ def foo(*args, **kwargs):
|
||||
eval = foo
|
||||
|
||||
# This function call might be marked as a code execution, but it actually isn't.
|
||||
eval("print(42)") # $ SPURIOUS: getCode="print(42)"
|
||||
eval("print(42)")
|
||||
|
||||
Reference in New Issue
Block a user