1. First, install the Android system on VMware
2. Install the APK program after the installation is complete,
3. Launch APK Program
4. Start the terminal on the Andriod and then su to root
5. Use the PS command to view the APK process ID to be debugged by the process
6. Start Gdbserver on andriod and attach to the process to be debugged
The specific command is Gdbserver 0.0.0.0:12345--attach [pid] where 0.0.0.0 means Gdbserver accepts any incoming ip,12345 is the listening port number
7. Open the remote to debug so file locally with Ida
8. Setting the IDA debugger for GDB remote debugging
9 Use the pmap-x [PID] command in Android terminal to locate the so base address to debug
10 change the address of the base site to 9 steps on Ida (this step corresponds to the address of the IDA local file to the so in remote memory, otherwise it will be cumbersome), and then you can debug it at the next breakpoint.
Ok start, here each step specific how to do, can be found on the Internet, I do not have time to write detailed. Since the use of VMware instructions is X86, the speed will even exceed the real machine debugging, the simulator out of dozens of blocks.!!!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Ida+vmware Debug X86 version Android so fastest Android so debug method