Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
苹果建议我使用“字符串”或“otool”来检测我的代码中的私有 api (isinf),我完全是新手,所以任何帮助如何使用这些工具
我nm用来检查我的二进制文件。用法再简单不过了:
nm
nm <filename>
它将列出一些奇怪的内存地址或其他内容,然后是可见性字符,最后是符号。T 是公开的,但请查看手册页nm以了解更多信息。
按Ctrl+space打开终端。
打开终端( Ctrl + Space -> 键入“终端”)..
并打印示例:
otool -MVv yourlib.a
求助:
otool --help