-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
throw new SyntaxError("unexpected character") when trying to load script compiled with frida-compile -c #487
Comments
Can you explain what did you do? is this happening just after building r2frida? |
I believe yes.
Yes. Specifically using the frida-compile tool within an npm package that contains the agent. Similar to frida-agent-example.
16.1.9
Mostly just run I can try to reproduce this with a minimal example but that might take a bit of time.
No but I could try. |
If i understood the issue properly this happens to me only on windows. Works fine on linux and mac. Its a known issue after updating to frida16 and iirc until 16.1.18 i wasnt able to build the agent in ubuntu20. And that same version also fixed the windows compilation using the pip's frida-compile. i'll look into that next week, it's not clear to me where the bug is yet. can you confirm the same behaviour? (Only happens on windows) |
dupe of dupe of #444 (there are 5 issues about r2frida not working on windows) when thats a known issue and probably a bug in frida, i'm slowly investigating the issue but i didnt managed to find the reason why the compiled scripts are not parsed properly by frida inside r2frida. |
See title.
The text was updated successfully, but these errors were encountered: