We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to hook an early static call in the main activity:
public class MainActivity extends c { private CodeCheck m; static { System.loadLibrary("foo"); } public MainActivity() { super(); } . . .
with this hook :
. . . var rt = Java.use("java.lang.Runtime"); rt.loadLibrary.overload('java.lang.String','java.lang.ClassLoader').implementation = function(arg, arg2){ send("hooking loadLibrary") this.loadLibrary(arg , arg2); } . . .
I know that the call is System and I'm hooking Runtime, but System actually calls Runtime.
In spite of my attempts frida does not make the hook and does not print "hooking loadLibrary". Someone can help me? Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to hook an early static call in the main activity:
with this hook :
I know that the call is System and I'm hooking Runtime, but System actually calls Runtime.
In spite of my attempts frida does not make the hook and does not print "hooking loadLibrary".
Someone can help me?
Thank you.
The text was updated successfully, but these errors were encountered: