" />
开发者

how to use otool

开发者 https://www.devze.com 2023-03-04 15:27 出处:网络
apple suggest开发者_如何学Pythoned me to use \"strings\" or \"otool\" to dect the private api (isinf) in my code , I am totally newbieso any help how to use those toolsOpen Terminal ( Ctrl + Space ->

apple suggest开发者_如何学Pythoned 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


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

and print example:

otool -MVv yourlib.a

for help:

otool --help


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.


On macOS, the otool tools is alternative to the objdump on the Windows. You should open Terminal and print example:

$ man otool  //Usage for otool

If you want to disassemble a file, Just type like this:

$ otool -tV filename
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号