how to use otool

后端 未结 2 1475
谎友^
谎友^ 2021-01-30 18:32

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

相关标签:
2条回答
  • 2021-01-30 18:47

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

    and print example:

    otool -MVv yourlib.a
    

    for help:

    otool --help
    
    0 讨论(0)
  • 2021-01-30 18:47

    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.

    0 讨论(0)
提交回复
热议问题