Android Security Special-AndBug dynamic debugging tool environment setup

Source: Internet
Author: User

Android Security Special-AndBug dynamic debugging tool environment setup

Environment Construction
Git clone cd to the AndBug directory and execute make
58deMacBook-Pro-7:AndBug wuxian$ makePYTHONPATH=lib python setup.py testrunning test.:: '' of () -> '':: '1' of (0,) -> '\x00':: '2' of (1,) -> '\x00\x01':: '4' of (1,) -> '\x00\x00\x00\x01':: '8' of (1,) -> '\x00\x00\x00\x00\x00\x00\x00\x01':: 'f' of (1,) -> '\x01':: 'm' of (1,) -> '\x00\x01':: 'o' of (1,) -> '\x00\x01':: 't' of (1,) -> '\x00\x00\x00\x01':: 's' of (1,) -> '\x00\x00\x00\x00\x00\x00\x00\x01':: '$' of ('abcd',) -> '\x00\x00\x00\x04abcd':: '1248' of (0, 1, 1, 1) -> '\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01':: 'fmots' of (0, 1, 1, 1, 1) -> '\x00\x00\x01\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01'.<<< 1 META>>> 2 META    00000000:  74 68 65 20 71 75 69 63 6b 20 62 72 6f 77 6e 20  the.quick.brown.    00000010:  66 6f 78                                         fox....----------------------------------------------------------------------Ran 6 tests in 0.004sOK

After the execution is successful, the following message is displayed when you execute./andbug:

Debugging

Andbug shell-p package name/PID

Check the package name through Hierarchyviewer and perform debugging:

andbug shell -p xposed.doctorq.com.qq4xposed

Methods involved in real-time interface operations

ToqqThe logon interface is used as an example:

class-trace com.tencent.mobileqq.activity.LoginActivity

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.