Skip to content
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

Support for extracting arm64e bitcode files #11

Open
localacct opened this issue Mar 15, 2022 · 3 comments
Open

Support for extracting arm64e bitcode files #11

localacct opened this issue Mar 15, 2022 · 3 comments

Comments

@localacct
Copy link

Hi

I am wondering if support for extracting arm64e bitcode files will be added in the future?

@Travolter
Copy link

Hi @localacct

Currently the github repository is slightly out-of-date. We're in the process of upstreaming some of our local changes. We haven't seen any issues with arm64e binaries yet. I assume you tried it and it doesn't work: do you have any output/errors?
If you can provide us some details we can update the repo in the coming weeks to be fully compatible again.

@localacct
Copy link
Author

Hi @Travolter

There wasn't any errors. It seems that the tool currently supports only armv7 and arm64 extraction? I tried supplying "-a arm64e" to the tool but I don't think its recognized.

If I use "-a arm64" then ebcutil will just extract arm64 and not arm64e bitcode files. If bitcode files were extracted, I would see some output such as the architecture and the compilation and linking options. I saw no output when I tried to extract arm64e.

I suppose arm64 and arm64e are similar as they both use the 64 bit data structures etc when I used MachOView to look at the binary.

@localacct
Copy link
Author

Hi @Travolter

So I managed to get the arm64e bitcode files extracted by not specifying the architecture (ebcutil -e ), so ebcutil will extract the bitcode files for both arm64 and arm64e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants