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
RangeError: Maximum call stack size exceeded #89
Comments
Hi! Can you provide input source code that will passed to obfuscator (generated by script above)? |
The output of the script is just a long, multiline string of the form:
It would be too long to reproduce in its entirety here. This script is fed into a small script that reads it and invokes Javascript-Obfuscator:
|
How many lines i should create to reproduce? |
My script generates 200k characters and breaks them into 75 character lines, so about 2667 lines should trigger the issue. |
FYI it looks like this may be a bug in escodegen. There's an open issue from 2016 here that looks to be the exact same thing. Feel free to close this if you'd like. |
Yep, look's like it related to escodegen. |
Hi! Using node |
Seems related to issue #86 , but not on Android.
The error seems to manifest itself with long strings:
Oddly, this same code works on Node v8.0, but not Node v8.4, so perhaps it isn't related to javascript-obfuscator directly?
Config:
You can reproduce this by generating a script with a large, multiline string:
And then running output.js through javascript-obfuscator.
The text was updated successfully, but these errors were encountered: