1

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?

RLT
  • 4,219
  • 4
  • 37
  • 91
  • Primarily MacOS. But I have ifdef for iphone processor too. Just need to test it. – RLT Sep 27 '11 at 07:02
  • Can SIMBL plugin be of help to you? – Eimantas Oct 04 '11 at 14:06
  • I have a plugin. But I cannot find proper references to enable me load the plugin in application when it starts. SIMBL can be very helpful if it can give me Idea on how to load plugin in application when it is about to launch. – RLT Oct 04 '11 at 15:11

1 Answers1

0

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

RLT
  • 4,219
  • 4
  • 37
  • 91