frida-java-bridge
frida-java-bridge copied to clipboard
Any suggestion about how to print java stack in c++(native) when calling a java method?
I intercepted the java call at entry_point_from_quick_compiled_code_in_ArtMethod, from here I can call JNI methods like GetMethodID, GetStringUTFChars and so on, however, when calling methods like FindClass, NewObject, CallObjectMethod at here, it will crash app, it seems I can only get data here but can't call a java method; What I really want here is to print the java stack here, any suggestion about how to implement this feature at this hook point like:
- how should I successfully call a java method here?
- or any method that I can call/hook the art functions that can give me the stack trace? Thanks
@Qownquiat 我有pine的方式,加我,一起交流