appmon
appmon copied to clipboard
Android Tracer: static method not traced
I want to trace all methods in AudioRecord
, getMinBufferSize
was found, but not traced.
@Piasy I need an app that calls the above mentioned method to be able to debug the issue. Let me know if can share more info.
I have a demo app, RxAndroidAudio.apk.zip, the source code is here, https://github.com/Piasy/RxAndroidAudio.
Step to reproduce:
- Run app;
- Run
python android_tracer.py -a com.github.piasy.rxandroidaudio -c AudioRecord -m "*"
; - Click
STREAM MODE
, thenSTART
;
Then you can see there is no getMinBufferSize
traces, but I definitely called this method.
@Piasy Are you able to generate the trace script with your tool and are you able to trace those methods? Just curious.
Having the same issue here: can't trace static methods. I was able to trace them with Frida though
Having the same issue here: can't trace static methods. I was able to trace them with Frida though
@Obaied . I'm having the same issue. How were you able to trace a static function with frida?