Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use otool

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

like image 857
AMH Avatar asked May 10 '11 07:05

AMH


2 Answers

Open Terminal ( Ctrl + Space -> Type 'Terminal')..

and print example:

otool -MVv yourlib.a

for help:

otool --help
like image 132
Alex Nazarov Avatar answered Oct 31 '22 21:10

Alex Nazarov


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.

like image 23
vidstige Avatar answered Oct 31 '22 21:10

vidstige