Вопрос

How does otool and similar tools read load commands? I could not find any open source tools to figure this out (even though otool is partially open source). How does it parse the binary file? Where does it start?

Thanks

Это было полезно?

Решение

I would expect that the otool command would open the file and parse the header of the binary according to the OSX ABI Mach-O File Format

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top