Hi everyone,I want to use Dynamorio to get the dynamic instruction trace of Android Apps. I am using DynamoRIO-ARM-Android-EABI-8.0.0-1.tar.gz from this page.I tried using the above tar file on my LG Nexus 5X (64 bit ARM) by executing the following command after setting the environment variable TMPDIR to /data/data/packagename and then ran the following command:./drrun -- path/to/base.odex
I got this error message:Target process is for the wrong architecture.
Is this error coming because(my smartphone is 64 bit and the dynamorio is for the 32 bit?)
Now, when I executed the below two commands./drrun -- path/to/base.apk
./drrun -- path/to/base.vdex
I got the error unable to inject: exec of | (null)- Can someone provide their insights regarding where I am going wrong w.r.t configuring dynamorio with Android? I followed this article.
- If we will launch the same app two times (after freshly installed the same apk), then will the dynamic instruction trace be the same or different?
- Is there an equivalent tool (like instrace for Linux, Windows) available for the Android platform also? (When I executed ddrun after extracting tar file to my smartphone, it will show available tools as drmemory drmemory_light and drcov (code coverage))
If anyone in this group can help me answer my above queries, it will be a big help for my project as I really want to get the dynamic instruction trace of the Android Apps.
Thank you and Regards
Nikhil Agrawal
M.Tech(Research) Student,
Department of Computer Science and Automation,
IISc Bangalore - 560012