Closed forensicmike closed 2 years ago
Can you share the JS script that generates a null value here?
Hi, I found a publicly available script I can share that seems to trigger it: https://raw.githubusercontent.com/0xdea/frida-scripts/master/raptor_frida_ios_trace.js
I should note that with the null check in place, everything else seems to work great.
Hi,
Currently on the latest nuget package version of 2.1.3.
I am getting a NullReferenceException with the following code which is meant to locate all VariableDeclaration nodes in a script.
After some debugging, I traced the problem to this method contained within
Esprima.Ast.NodeExtensions
:On the line
node.ChildNodes
,node
is not null checked, and seems to be null quite a lot of the time.I created my own extension method that checks for null and the exceptions went away. E.g.