将加载命令添加到mach-o二进制 [英] Add load command to mach-o binary

查看:153
本文介绍了将加载命令添加到mach-o二进制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以将LC_LOAD_DYLIB添加到二进制文件吗?已经保护DYLD_INSERT_LIBRARIES被使用,所以我需要另外一个dylib加载到一个应用程序

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

推荐答案

我开源 optool 完全是这样。

I open-sourced optool which does exactly this.

这篇关于将加载命令添加到mach-o二进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆