-
Notifications
You must be signed in to change notification settings - Fork 10
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
Incompatible with TotalFinder 1.14.1 #11
Comments
Hi, I'm one of the developers of TotalFinder. So, I just tested this — the issue actually has nothing to do with TotalFinder (as I get the injection error even with TotalFinder disabled and/or fully removed), but rather the fact that Odourless in its current state doesn't actually work correctly on Apple Silicon. Basically, Finder (and all other Apple platform binaries) are Now, if you were to download the Simply transplanting the I'm unfamiliar with how your code injection solution works, @xiaozhuai, but I would generaly recommend this:
Also, is there a reason why you are not building as a fat ("Universal") Mach-O binary? I think it'd be less confusing for users if you did so. |
@akemin-dayo Thanks for your suggestion! I will try it. |
@frogworth Try this universal version |
I'm not frogworth, but this binary has the same Try not including an |
@akemin-dayo Thanks for your feedback! Please try this new version.
|
@xiaozhuai This build launches fine, but dylib injection fails with this error:
Seems like it's being thrown by frida-gum's |
switch (ordinal)
{
case GUM_DARWIN_BIND_SELF:
result = gum_darwin_mapper_get_dependency_by_name (self,
self->module->name, error);
break;
case GUM_DARWIN_BIND_MAIN_EXECUTABLE:
case GUM_DARWIN_BIND_FLAT_LOOKUP:
case GUM_DARWIN_BIND_WEAK_LOOKUP:
goto invalid_ordinal;
default:
{
gint i = ordinal - 1;
if (i >= 0 && i < self->dependencies->len)
result = g_ptr_array_index (self->dependencies, i);
else
goto invalid_ordinal;
break;
}
}
|
That's a really strange failure mode — iOS tweak dylibs are pretty much always fat binaries, and those have no issue being injected (even if it's just a simple I suppose this may be some sort of deficiency with Frida specifically…? (I have no experience with Frida, so I can't really be certain.) |
@akemin-dayo Thank you very much for your help. I'll go deep for this problem. Maybe switch to another injection library. What injection library do you suggest? |
@akemin-dayo Sorry to bother you again. I don't have a arm64 macos. Please try this one. |
Hi @xiaozhuai, I did try that one but it also won't launch at all unfortunately. |
Hi xiaozhuai,
I'm not sure if you know, but a brilliant person has managed to make TotalFinder compatible with Apple Silicon.
https://discuss.binaryage.com/t/update-discussion-totalfinder-1-14-1-now-with-apple-silicon-support/8364
Unfortunately, Odourless and TotalFinder do not play nice together. If TotalFinder is running, the Odourless daemon says:
E: inject failed, Incompatible Mach-O image
Hoping there's a way to have both tools working at once!
The text was updated successfully, but these errors were encountered: