Re: GSOC : Introducing myself

2017-02-21 Thread Eugene Syromyatnikov
On Tue, Feb 21, 2017 at 11:24 AM, Animesh Kashyap
 wrote:
> On Sun, Feb 19, 2017 at 12:20 AM, Eugene Syromyatnikov  
> wrote:
>> Well, strace itself does not utilise bug tracker of any sort; bugs and
>> suggestions usually reported via this mailing list (like suggestion
>> [1], reported recently). You can try to have a look at lists of bugs
>> related to strace packages in various distributions (like [2] or [3]),
>> but these are mostly loosely related since they are reported against
>> old versions and most of them are ususally reported upstream and fixed
>> or get stale.
>
> Hello,
>
> I read the resources provided and am reading the mailing list. I have
> successfully cloned and built strace. There are two projects specified
> on the wiki page :
> "https://sourceforge.net/p/strace/wiki/GoogleSummerOfCode2017/; :
Well, it's not projects in term "GSoC project ideas" (which are
provided under "List of project ideas for students"), it's more like
some potential areas which still need improvement and do not require
much involment in order to tackle them, so they are deemed as a good
place to start.

> 1) Adding tests for better coverage
> 2) Adding new classes for -e trace=class.
Yes, that's correct.

> Should I start working on one of these or is there some other small
> feature that does not require much knowledge of internals of strace
> that I should work on?
I think I already mentioned [1], it requires some other knowledge
(regarding ANSI terminals and terminfo/termcap, mostly), however.
Overall, there is also vast field of work regarding support of various
ioctl() calls, but it is difficult to recommend since it already
requires some understanding of strace and kernel inner workings in
order to be done right (from my point of view).

[1] https://sourceforge.net/p/strace/mailman/message/35650550/


-- 
Eugene Syromyatnikov
mailto:evg...@gmail.com
xmpp:esyr@jabber.{ru|org}

--
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


Fwd: How to call Strace native library in Android application?

2017-02-21 Thread Saba Arshad
-- Forwarded message --
From: Saba Arshad 
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


How to call Strace native library in Android application?

2017-02-21 Thread Saba Arshad
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
--
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


Re: GSOC : Introducing myself

2017-02-21 Thread Animesh Kashyap
On Sun, Feb 19, 2017 at 12:20 AM, Eugene Syromyatnikov  wrote:
> Well, strace itself does not utilise bug tracker of any sort; bugs and
> suggestions usually reported via this mailing list (like suggestion
> [1], reported recently). You can try to have a look at lists of bugs
> related to strace packages in various distributions (like [2] or [3]),
> but these are mostly loosely related since they are reported against
> old versions and most of them are ususally reported upstream and fixed
> or get stale.

Hello,

I read the resources provided and am reading the mailing list. I have
successfully cloned and built strace. There are two projects specified
on the wiki page :
"https://sourceforge.net/p/strace/wiki/GoogleSummerOfCode2017/; :
1) Adding tests for better coverage
2) Adding new classes for -e trace=class.

Should I start working on one of these or is there some other small
feature that does not require much knowledge of internals of strace
that I should work on?

Thanks,
 Animesh

--
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