简体   繁体   中英

'strace' in android

I want to produce application that analyzes the system calls that occur within Android. Information about the system call attempts to collect by using the Linux debugging tool called strace. However, strace is not a built-in program for android sdk. How can I use strace from my Android application? Please help me.

(Please note that not unfamiliar with the English language. Thank you.)

First, the device must be rooted.

In this link you can download a strace for android.

http://forum.xda-developers.com/showthread.php?t=2516002

download and move it to /system/bin and set permissions to 755.

Check in adb shell screen.

Now, over all the preparations. In adb shell screen, check the strace command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM