frida-java-bridge icon indicating copy to clipboard operation
frida-java-bridge copied to clipboard

Any suggestion about how to print java stack in c++(native) when calling a java method?

Open Qownquiat opened this issue 2 weeks ago • 1 comments

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:

  1. how should I successfully call a java method here?
  2. or any method that I can call/hook the art functions that can give me the stack trace? Thanks

Qownquiat avatar Dec 10 '25 08:12 Qownquiat

@Qownquiat 我有pine的方式,加我,一起交流

wangcheng711 avatar Dec 14 '25 16:12 wangcheng711