I am trying to understand how Xposed do the hooking part and it provides the API's for user to hook any method very easily.
I have gone through the source code of Xposed Bridge , the jar file which resides inside every process whenever it starts. I also found that they are using java reflection to get the class methods , parameters etc to pass it to the Native methods through JNI.
One thing , I am not able to figure out is that how Xposed is hooking the processes and able to get the full control over it.
I am trying to figure out that the hooking take place at the Java side inside the XposedBridge jar file or it takes place at ART level in Native code.