I want to contribute to strace project
Ayush Dwivedi
21cencturyayush at gmail.com
Thu Jan 30 10:41:22 UTC 2020
Thanks a lot Eugene. I have been doing experiments with ptrace lately. I
have been studying kernel syscall API and implementation of C standard
library through the minimal klibc library. As with build technologies like
make I have been experimenting with them as well. I will try to create a
minimal debugging program myself first(tracing process exit status
mostly...then to function return status). For that I will try to get
printed status of all my function calls I do in a process. I am using
strace on the C programs I have written to figure out the many aspects of
the project itself like guessing it's rough workflow. I think after doing
that I will start to get the approximate workflow of strace. I guess by
that I will be able to understand what some of the project code actually
means. Haven't heard of m4 and autotools I will research about them for
sure.I know a little about awk so I will research about it as well. Once
again thank you so much.
On Thu 30 Jan, 2020, 11:34 AM Eugene Syromiatnikov, <esyr at redhat.com> wrote:
> On Mon, Jan 20, 2020 at 03:14:16PM +0530, Ayush Dwivedi wrote:
> > Hello everyone,
>
> Hello.
>
> > This is Ayush. I am a college student studying computer science. I find
> > Linux operating system really interesting and I love C language.
> Recently I
> > have been studying syscalls and IPCs. I have used strace along with gdb
> and
> > valgrind at times. I wrote a minimal Linux Shell as a hobby project and
> as
> > of now it can execute most command constructs including pipes and file
> > descriptor creation using shell symbols I will add scripting capabilities
> > to it. I wanted to know how and where should I start contributing to the
> > strace project and what are the preliminary skills and knowledge base I
> > need to have.
>
> You may want to check out [1][2]. The preliminary skills are knowledge
> of C language, POSIX, and Linux APIs (especially ptrace), to some extent.
> Knowledge of POSIX shell, awk, make, and autotools/m4 are also deemed
> useful.
>
> > What are some other projects that are similar to strace but
> > quite minimal to start with that I can check out?
>
> There are quite some ptrace-based tracers, but it's difficult to refer
> to any of them, as they usually aren't correct and/or cross-platform.
> Implementation of syscall tracing in ltrace and gdb is likely worth
> studying, though.
>
> [1] https://strace.io/wiki/NewContributorGuide
> [2] https://gitlab.com/strace/strace/blob/master/README-hacking
>
> --
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200130/c249b69e/attachment.html>
More information about the Strace-devel
mailing list