-
Notifications
You must be signed in to change notification settings - Fork 73
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
Segmentation fault on arm64 #97
Comments
looks related to #83 (comment) |
That particular issue you linked is webcrack failing compilation on node 22. I ran into that as well, but when I switched to node 20, it compiled and ran fine. It's just during deobfuscation that it hits the segmentation fault. If you look at the docker commands, they run the exact same node version, and one segfaults while the other doesn't, so this must be an arm64 issue. Has anyone ever confirmed this works on arm64? |
The crash happens in https://github.com/laverdet/isolated-vm |
Did some more testing and found out a few interesting things:
It may be worthwhile updating Anyway, I'm definitely unblocked now, thanks a lot! |
Describe the bug
Using a MacBook Pro M3 Max, macOS 14.5, I seem to get segmentation fault unless I run under Docker with x64 emulation.
Crash 1:
brew install node@20 npm install -g webcrack nano test.js # put sample from https://obfuscator.io/ webcrack test.js
Crash 2:
docker run --rm -it node:20 bash npm install -g webcrack nano test.js # put sample from https://obfuscator.io/ webcrack test.js
Works:
docker run --rm --platform linux/amd64 -it node:20 bash npm install -g webcrack nano test.js # put sample from https://obfuscator.io/ webcrack test.js
Expected Behaviour
Works
Code
Logs
The text was updated successfully, but these errors were encountered: