xcode 如何使用otool
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5946756/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to use otool
提问by AMH
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
苹果建议我使用“字符串”或“otool”来检测我的代码中的私有 api (isinf),我完全是新手,所以任何关于如何使用这些工具的帮助
采纳答案by Alex Nazarsky
Open Terminal ( Ctrl + Space -> Type 'Terminal')..
打开终端(Ctrl + Space -> 输入“终端”)。
and print example:
并打印示例:
otool -MVv yourlib.a
for help:
求助:
otool --help
回答by vidstige
I use nm
to inspect my binaries. Usage can't be simpler:
我nm
用来检查我的二进制文件。用法再简单不过了:
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.
它会列出一些奇怪的内存地址或其他什么,然后是可见性字符,最后是符号。T 是公开的,但请查看 的手册页nm
以了解更多信息。
Press Ctrl+spaceto open up the terminal.
按Ctrl+space打开终端。