문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top