Ida+vmware Debug X86 version Android so fastest Android so debug method

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.