IDA Remote Debug Android so

Source: Internet
Author: User

1. Upload the IDA directory Android_server to the Android directory
Such as:
ADB push android_server/data/local/tmp/
ADB Shell enters simulator
cd/data/local/tmp/
chmod 755 Android_server
./android_server
See Listening Port 23946

2. Forward the window to the emulator or the phone's port under the Windows console
ADB forward tcp:23946 tcp:23946

3.ida Select Android debugging, the app can be run up
The process options in the Debuggger
hostname, fill in localhost.
port:23946

4. On the attach of Debuggger, the program on Android is OK.

5. Locate the breakpoint where you want it to be set, and then debug it.

Now find the function offset in the local module that requires the next breakpoint

Then get the base address of the remote module, and the base site + offset is the address where the breakpoint is currently required

Ctrl + S Displays all the currently loaded module information, looking for a readable executable, and the general code snippet is not writable.

80900000 + C88 = need the address of the next breakpoint, then set the breakpoint, click on the button to break down.

IDA Remote Debug Android so

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.