-
Notifications
You must be signed in to change notification settings - Fork 20
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
infinite loop? wakaru unminify runs forever #110
Comments
This script is obfuscated. I just tried decoding it with https://github.com/j4k0xb/webcrack, and it seems to work. Wakaru does not provide "deobfuscate" features; you can still use other tools to deobfuscate the source and use Wakaru to further improve the readability. But I will check the performance issue and possible infinite loop. Thanks for the input. 🙏 For the process thing you mentioned, the cli can only process one file on one core; it's being used for unminifying multiple files. |
I just tried wakaru unminify with the decode code. Total time: 7m5s Here is the stats:
The AST parsing is super expensive, I will try to do some perf and see how to reduce the cost. |
Describe the bug
im trying to decompile a 3MB file
the process is using a maximum of 2GB RAM
there are 13 processes running
node packages/cli/dist/cli.cjs
1 process is busy at 100% cpu
12 processes are idle at 0% cpu
wakaru runs at least 60 minutes, probably forever...
i guess that wakaru is running into some anti-debugger trap
which is causing an infinite loop, aka deadloop
Input code
No response
Reproduction
No response
Steps to reproduce
No response
Expected behavior
dont run forever
Actual behavior
No response
The text was updated successfully, but these errors were encountered: