I want to log all the system calls of an Android app. When I run the command adb shell strace
I get /system/bin/sh: strace: not found
I am on windows 10 and I have installed the Android platform tools 28.0.1. I have tried to use the command make
on adb shell but it was not found.
download strace from this site: http://benno.id.au/blog/2007/11/18/android-runtime-strace (click hyperlink "strace for Android")
type adb shell to enter in adb shell use /system/xbin/su -c "system/bin/sh -" (to get to root) then place the file in system/bin (downloaded from above link), while being in root. ps to see processes. run strace!
command: strace -p
为了使用 strace shell,必须有一个带有 x86 系统映像的设备
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.