JNI: intercepting native methods outputs
问题 currently i am working on a project where i need to intercept the results of java native method calls for further analysis. There are multiple ways to achieve that but the way of my choice is: at native binding time, re-bind the addresses of java native methods to the address of my own wrapper-function, which would call the initial native function by itself and then return its result while intercepting the returned variable. The wrapper function should be generic, meaning it would handle the