开发者

how to load injection lib in mac applications at application start?

I have a dynamic library, I intent to inject in running application & newly launched applications.

I can inject it in running applications with the help of a process running with root user permissions.

Now I am trying that library should get loaded as soon as application is launched. I know one such library开发者_开发技巧 capable of doing this called, application enhancer. I am looking for similar behavior.

Does anyone has an Idea how can this be achieved?


Look at SIMBL agent code. It adds a observer to application launch notification and then injects. You can follow the same approach.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜