In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Android Studio combined with smalidea how to carry out smail dynamic debugging, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail, people with this need can come to learn, I hope you can gain something.
I have just come into contact with the reverse of Android, which is a note note. Daniel can ignore the tools used by 0x00.
0x01 decompiled APK
Drag apk into Android killer to decompile and generate the project directory
0x02 Android Studio install smalidea
1. Open Android Studio, click File, select Settings, or press the shortcut key Ctrl+Alt+S to open the settings interface, click Plugin, and then click install plugin from disk.
two。 Select the smalidea we downloaded in the pop-up box and click OK
After the above two steps, the smalidea plug-in is installed. In particular, after being successfully added, the smali code will be syntactically highlighted. If it is not successfully added,
Self-examination of the cause.
0x03 imports decompiled code
1. Select Import Project in Android Studio
two。 Select the decompiled Project root directory
3. Select the * * item in the pop-up window and click Next until Finish finishes importing the project
4. After the import is complete, you can see the smali.
0x03 for debugging and configuration
1. Configure as shown in Android Studio and add a debug
two。 After adding debug, modify debug name and debug port
3. The effect that can be achieved after the configuration is completed
0x04 installation and start debugging
1. First of all, the next breakpoint of the left mouse button in the OnCreate function in MainActivity is shown in the figure.
two。 Install our application on the phone and open it in debug mode
Commands used
Adb install-radb shell am start-D-n packageName/ActivityName
3. Open a Monitor and select the application you want to debug
4. Here we monitor the v0 register, F8 step, F7 step, in fact, similar to the debugging of OD, you can see the value of the register changes.
5. Variable monitoring window, where we can add and monitor registers
So you can start debugging smail, which is relatively simple.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.