"Encrypt and decrypt" Android App so dynamic library debugging analysis

Source: Internet
Author: User

Debug so the phone requires root privileges, while the debug mode is turned on.
1, upload android_server to/data/local/tmp
ADB push android_server/data/local/tmp
2, root permission to execute./android_server, the results are as follows

[Email protected]:/data/local/tmp#./android_server./android_serverida Android +-bit Remote Debug Server (ST) v1.17. Hex-rays (c)2004- -Listening on port#23946 ...=========================================================[1] Accepting connection from127.0. 0. 1...[1] Closing connection from127.0. 0. 1...=========================================================[2] Accepting connection from127.0. 0. 1...[2] Closing connection from127.0. 0. 1...

3, the implementation of ADB forward tcp:23946 tcp:23946, the purpose is to make communication between the computer and the mobile phone, using TCP 23946
4. Start Ida and choose remote ARM linux/android Debugger
Then select Menu Debugger->process option-> Enter the 127.0.0.1 address at hostname and select menu Debugger->attach a process to select the processes to attach.
5. F2 or right mouse button to set breakpoints in the so code that need to be traced, trace analysis can be.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

"Encrypt and decrypt" Android App so dynamic library debugging analysis

Related Article

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.