how to use otool

AMH picture AMH · May 10, 2011 · Viewed 55.6k times · Source

apple suggested me to use "strings" or "otool" to dect the private api (isinf) in my code , I am totally newbie so any help how to use those tools

Answer

vidstige picture vidstige · May 10, 2011

I use nm to inspect my binaries. Usage can't be simpler:

 nm <filename>

It will list some weird memory-address or whatever, then a visibility character and lastly the symbol. T is public, but check out the man page of nm to find out more about this.

Press Ctrl+space to open up the terminal.