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 '19 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 '19 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 '19 at 16:28

If you have stripped binaries there's little you can do regardless of the platform you're on.

To view disassembled code on Linux, os you would with Otool on Mac, you can use objDump:

objdump --disassemble-all thebinary

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.