How to call Strace native library in Android application?
Saba Arshad
sabarshad1000 at gmail.com
Tue Feb 21 13:18:19 UTC 2017
Hello Sir,
I am developing an android security application in my MS Research where I
want to use Strace by an android application programmatically, So I
imported Strace for Android from the source [1] which contains .c files, shown
in the image below, 1.png.
All the .c files are added automatically in the cpp folder when i gave the
path of Android.mk file. the Android.mk file is given in link [2] and
MainActivity.java is given in the image 2.png.
Now i want to call the strace from the android application by adding
strace.c native library. The problem is that when I give the name of
starce.c as the native library the application stops unexpectedly. Anyone
knows why this is happening? please let me know if i am missing something.
Thanks in Advance.
Saba Arshad
MS Research Student
COMSATS Institute of Information Technology, Islamabad.
References:
[1] https://github.com/android/platform_external_strace
[2]
https://github.com/android/platform_external_strace/blob/master/Android.mk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170221/192004a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 30470 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170221/192004a0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 46334 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170221/192004a0/attachment-0001.png>
More information about the Strace-devel
mailing list