Friday, September 4, 2020 [Tweets] [Favorites]

Auto Linking in MachO-Explorer

Milen Dzhumerov:

Auto Linking works by inserting linker flags in object files. When the linker creates the final executable, it’s as if those linker flags were passed as arguments.

[…]

I recently added support for LC_LINKER_OPTION to MachO-Explorer, so you can use it to inspect the linker flags visually as well.

Previously:

Update (2020-09-07): Jeff Johnson:

PROTIP: autolink doesn’t work as expected with import Cocoa

If your binary uses no AppKit symbols, then only Foundation gets linked.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment