mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Python: Model exec and eval calls as CodeExecution
This commit is contained in:
@@ -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)")
|
||||
eval("print(42)") # $f+:getCode="print(42)"
|
||||
|
||||
Reference in New Issue
Block a user