问题
Is it possible to add an LC_LOAD_DYLIB to a binary? There has been protection against DYLD_INSERT_LIBRARIES being used so I need another to load a dylib into an app
回答1:
I open-sourced optool which does exactly this.
来源:https://stackoverflow.com/questions/8862602/add-load-command-to-mach-o-binary