Domanda

There is a .a lib in iOS project. I want to see the methods name in it, so I installed binutils on Mac. But when I run objdump [-h] xxx.a. It says:

"File format not recognized".

So, what format does objdump supports? And how can I see the methods in that .a lib without using objdump?

È stato utile?

Soluzione

There are several tools to this.

  1. strings tool.
  2. nm tool
  3. otool
  4. For Objective C code, use class dump
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top