Closed bobbystacksmash closed 6 years ago
When code is passed through to eval() the eval/capture module intercepts the call, emits and then returns the string value.
eval()
eval/capture
There should be an option here where we instrument the eval() code in the same way we do for code we're already analysing in the sandbox.
This has been implemented. Please see lib/metaprogramming/plugins/capture_eval.js for implementation.
lib/metaprogramming/plugins/capture_eval.js
When code is passed through to
eval()
theeval/capture
module intercepts the call, emits and then returns the string value.There should be an option here where we instrument the
eval()
code in the same way we do for code we're already analysing in the sandbox.