-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
MIPS is broken in 3.96 #342
Comments
same here |
You must upload ("Attach files by ...") an actual executable that experiences the problem. Compress the upload using zip, gzip, or .tgz so that Github can save space. |
If you wish.. Also, to note. It eats 100% cpu core |
@bol-van Thank you. It saves debugging time to start with something that is known to fail. I don't have MIPS32 MSB router D-link DIR-825 B2 to choose a file. |
Anyway you need at least qemu mips system running linux. Can take ls from there |
This environment worked enough for debugging the upx stub. There is no
|
#342 #339 modified: src/stub/src/include/linux.h consequences: modified: .github/travis_testsuite_1-expected_sha256sums.sh modified: src/stub/mips.r3000-linux.elf-fold.h modified: src/stub/mipsel.r3000-linux.elf-fold.h modified: src/stub/tmp/mips.r3000-linux.elf-fold.map modified: src/stub/tmp/mipsel.r3000-linux.elf-fold.map
The
so that is 0003c0+008b1e+002430+001b13+0005e8+00110f+00200a+0002c8 bytes that could be removed by |
look at this file. Its large enough, stripped. It still does not work. |
The fix 4fb1d41 of 12 hours ago is on the
Contrast with tpws_upx, which hangs shortly after
|
Confirm. it works |
Please release a new version of upx, latest release 3.96 still doesn't work on mips:
|
@varac See #504 (comment) : it is believed that the UPX stub source for mips* (at the tip of of |
#342 #339 modified: src/stub/src/include/linux.h consequences: modified: .github/travis_testsuite_1-expected_sha256sums.sh modified: src/stub/mips.r3000-linux.elf-fold.h modified: src/stub/mipsel.r3000-linux.elf-fold.h modified: src/stub/tmp/mips.r3000-linux.elf-fold.map modified: src/stub/tmp/mipsel.r3000-linux.elf-fold.map
What's the problem (or question)?
Static musl executable packed by UPX 3.96 hangs on MIPS32 MSB router D-link DIR-825 B2
Program should output some strings in response to -h command. It outputs nothing , no response.
It works fine if packed by UPX 3.95
What should have happened?
It should run
How can we reproduce the issue?
Make simple hello-world C program, compile it for MIPS, pack with upx 3.96, run on mips device
Please tell us details about your environment.
upx --version
): 3.96The text was updated successfully, but these errors were encountered: