Python: Model exec and eval calls as CodeExecution

This commit is contained in:
Rasmus Wriedt Larsen
2020-10-07 20:37:43 +02:00
parent 73971cff76
commit c69a61bac5
7 changed files with 102 additions and 9 deletions

View File

@@ -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)")
eval("print(42)") # $f+:getCode="print(42)"