You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error after Obfuscation: Uncaught SyntaxError: Unexpected string #486
Activity
rricamar commentedon Jan 8, 2020
I can provide the original and the obfuscated script, but it is generated from the Angular Cli (20k lines more or less) ... 😱
sanex3339 commentedon Jan 8, 2020
Can you provide it?
This error happens when a function has raw value instead of parameter identifier:
rricamar commentedon Jan 8, 2020
Hi @sanex3339 , ty a lot for your quick response!
As far as I know, we don't use that type of statements. Here are the files:
main-js-obfuscated.zip
The .zip contains the original file from the Angular CLI process and the obfuscated one.
Ty again 😀
sanex3339 commentedon Jan 8, 2020
Code to reproduce
With
stringArrayoption it becomessanex3339 commentedon Jan 9, 2020
Will fixed in #489
Expect release tomorrow
rricamar commentedon Jan 9, 2020
@sanex3339 so quick, ty a lot 🙏
I will try new release and let you know if is working
sanex3339 commentedon Jan 9, 2020
Released as
0.22.0re-jim commentedon Jan 10, 2020
This newest version 0.22.0 broke stuff for me, causing a
TypeError: Assignment to constant variable.error, that doesn't happen before obfuscation, only after.I don't have enough details at the moment to provide a full reproducible example, however. Just a heads up.
sanex3339 commentedon Jan 10, 2020
Can you send your obfuscated code and options?
This bug is critical, so i should fix it as soon as possible.
sanex3339 commentedon Jan 10, 2020
Reproduced it, error when
controlFlowFlatteningoption is enabled with code:WIll fix it soon
sanex3339 commentedon Jan 10, 2020
Fixed in #491
sanex3339 commentedon Jan 10, 2020
Released as
0.22.1, please try itsanex3339 commentedon Jan 12, 2020
Closed. Reopen new issue if problem still exist
rricamar commentedon Jan 14, 2020
Hi @sanex3339 , I've tried 0.22.1 and is working perfect for me 👍
Ty for your quick response and fix!
sanex3339 commentedon Jan 14, 2020
Nice!