My IDA
Version is IDA Pro 7.5 SP2
. And I'm trying to debug a .so
file inside a .apk
file.
Here's what I've done:
- download a
x86_64
system image android emulator fromandroid studio
- install that
.apk
on emulator and run it. - push
android_x64_server
inside/dbgsrv
ofIDA
installation folder into/data
folder of emulator.
(adb push ida-folder/dbgsrv/android_x64_server /data
) - execute the following command:
adb shell
cd /data
chmod 777 ./android_x86_server
./android_x86_server
- back into windows terminal, and execute
adb forward tcp:23946 tcp:23946
- open
IDA Pro
, selectremote linux debugger
attach to apk's process
And the "Threads" window only show one thread, which is not true because when I execute ps -T -p [pid]
inside adb shell, and found that the process is a multi-thread application.
Here is the screenshot: