So debugging for Android native C
Basically the same as Linux
1. Upload android_server under the IDA directory to the android directory.
For example:
ADB push android_server/data/local/tmp/
ADB shell enters the simulator
CD/data/local/tmp/
Chmod 755 android_server
./Android_server
View listening port 23946
2. Forward the window to the simulator or mobile phone port in the Windows Console
ADB forward TCP: 23946 TCP: 23946
3. Android debugging in IDA
Process options in debuggger
Enter localhost in hostname
Port: 23946
4. Attach the corresponding androidProgramThat's all.
If so is not called, But Bin is called
Fill in the 3rd application: path of your bin on the simulator or mobile phone
Input File: Same as application
Directory: directory path of your bin in the simulator or mobile phone
If there is a parameter, enter the Parameter
And then directly go to part 1 F9 or start Process
Note the following when using Symbian:
Fill in the 3rd application: path of your bin on your mobile phone
Input File: Program path on your local computer
Port: comport
Install TRK on your phone
Note: Only ida6.1 supports Android debugging, and 5.5 does not.
Available in ida6.1
Hex-Rays.IDA.Pro.Advanced.v6.1.part1.rar
Hex-Rays.IDA.Pro.Advanced.v6.1.part2.rar
Instructions
No. starch. The. Ida. Pro. book.2nd. Edition. jun.2011