[Clam-devel] how-os-x-executes-applications.html
Pau Arumi
parumi at iua.upf.edu
Wed Jan 3 02:15:31 PST 2007
otool: the ldd and objdump for macosx
btw, a very intesting article
http://0xfe.blogspot.com/2006/03/how-os-x-executes-applications.html
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 start dissassemble from routine name
-s 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
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the clam-devel
mailing list