how to use otool

别说谁变了你拦得住时间么 提交于 2019-12-20 08:46:23

问题


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


回答1:


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

and print example:

otool -MVv yourlib.a

for help:

otool --help



回答2:


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.



来源:https://stackoverflow.com/questions/5946756/how-to-use-otool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!