1

I have a reverse engineering set up on a Mac machine. This set up does some reverse engineering on iOS applications(.ipa files). I'm migrating the setup from Mac to a linux machine.

Currently on Mac, I'm using OTOOL on ipa binary files and using the following commands:

  1. otool -L /iOS/binary/path
  2. otool -lv /iOS/binary/path
  3. otool -hv /iOS/binary/path

Now, I've to do the same operation, i.e reverse engineer the iOS applications, but now on the linux machine. AFAIK, OTOOL is not available for linux machine.

  1. I've come across JTOOL which I think is most relevant till now. I can use it on linux, and it does something similar to OTOOL, but not exactly same. E.g. while using the -L command on JTOOL, I also need to specify architecture. However, OTOOL gives the shared libraries for all the available architectures.
  2. I tried ldd, but I'm getting the error - "not a dynamic executable".
  3. I tried objdump, but it asks for the object file.

I'm not sure which tool can I use. I to figure out the alternate tool which can do same as OTOOL. Or, if not same, then what changes do i need to make to use the alternate tool.

  • ldd should work. what is the output of file on the executable you tried ? Otherwise use nm / objdump. gitlab.kitware.com/cmake/community/wikis/doc/cmake/… – tibar Feb 12 at 13:29
  • @tibar You think this will work for iOS executable binaries on linux? As otools for iOS binaries on Mac? – Rohit saraf Feb 13 at 6:57
  • jtool lets you specify the arch with -arch. On my machine, testing with a fat binary gives different libs depending on the arch I specify. – Bill B Feb 25 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.