-
Notifications
You must be signed in to change notification settings - Fork 255
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
unshc on Mac doesn´t seem to work #13
Comments
Hello, Indeed, your *.sh.x file in your archive is a Mach-O file:
The objdump command (used by UnSHc) can't work on this type of binary file:
I'm not a Mac-addict nor Mach-O specialist, so I can't add this kind of format in UnSHc for the moment. But I have transmit this issue to several friends and coworkers if one of them can help. Thanks for your issue and your package, We keep in touch, Sincerely, |
Now I just feel lazy. I could have figured out as much from reading previous issues. It seems the appropriate replacement for "objdump" is "otool". It would be a case of substituting the tool in the script, and getting the syntax right so it yields equivalents. I´will be looking into this - thanks for your time. best regards |
Yes, I have seen that otool seems to be a good replacement of objdump. But I don't know at this moment if the outputs of the equivalent OBJFILE or STRINGFILE via otool are nearly similar to the objdump outputs. There is many grep and regex in UnSHc to parse the object dump produce by objdump -D, and for a Mach-O output, these grep syntax need to be updated I think. If you make some test and research, I'm really interested by your result :) ! Sincerely, |
Hello @toby1knby, I have made few test with a colleague on a MacOS Darwin architecture XNU, and I think we will be able to adapt UnSHc for Mac :) ! Have a nice day, |
Hello, @toby1knby, For your information, a new version of UnSHc is in progress, with the support of x86, x64, Mach-O and ARM :) ! I keep you in touch, Sincerely, |
What is the progress now? |
What is the progress now? |
I would love to see this work on the Mac and I have submitted source files for you to review...
Archive 2.zip
Awesome tool in Linux - thanks!
The text was updated successfully, but these errors were encountered: