MAC上的執行檔格式 (Mach-O)

為了看程式用到哪些shared library才研究的,沒想到竟然不是ELF,Apple還真的大翻修BSD哩~

看ELF的tool:
objdump、readelf、ldd
readelf -d a.o,ldd不錯用

看mach-o的tool:
otool、ht edtior

This entry was posted in 電腦和網際網路. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s