---------- Forwarded message ----------
From: Saba Arshad <sabarshad1...@gmail.com>
Date: Tue, Feb 21, 2017 at 6:18 PM
Subject: How to call Strace native library in Android application?
To: strace-devel@lists.sourceforge.net


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.

I have already posted this question at stack overflow [3] but could not
find any help unfortunately.


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

[3]
http://stackoverflow.com/questions/42293495/how-to-call-strace-native-library-in-android-application
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to