FreeOZ论坛

标题: otool: Mac OS X下的ldd [打印本页]

作者: coredump    时间: 11-11-2009 14:46
标题: otool: Mac OS X下的ldd
不要在Mac OS X下试图寻找ldd这个工具,对应的命令是otool -L. otool完整用法
Usage: otool [-fahlLDtdorSTMRIHvVcXm] <object file> ...

-f print the fat headers

-a print the archive header

-h print the mach header

-l print the load commands

-L print shared libraries used

-D print shared library id name

-t print the text section (disassemble with -v)

-p <routine name>  start dissassemble from routine name

-s <segname> <sectname> print contents of section

-d print the data section

-o print the Objective-C segment

-r print the relocation entries

-S print the table of contents of a library

-T print the table of contents of a dynamic shared library

-M print the module table of a dynamic shared library

-R print the reference table of a dynamic shared library

-I print the indirect symbol table

-H print the two-level hints table

-v print verbosely (symbolicly) when possible

-V print disassembled operands symbolicly

-c print argument strings of a core file

-X print no leading addresses or headers

-m don't use archive(member) syntax

-B force Thumb disassembly (ARM objects only)

作者: fred_au    时间: 11-11-2009 20:16
学习了...




欢迎光临 FreeOZ论坛 (https://www.freeoz.org/bbs/) Powered by Discuz! X3.2