Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Samuel Thibault
Richard Braun, le Wed 21 May 2014 00:45:51 +0200, a écrit : > On Tue, May 20, 2014 at 11:50:28PM +0200, Samuel Thibault wrote: > > Richard Braun, le Tue 20 May 2014 23:42:24 +0200, a écrit : > > > On Tue, May 20, 2014 at 10:50:07PM +0200, Samuel Thibault wrote: > > > > I would advise starting with

Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Richard Braun
On Tue, May 20, 2014 at 11:50:28PM +0200, Samuel Thibault wrote: > Richard Braun, le Tue 20 May 2014 23:42:24 +0200, a écrit : > > On Tue, May 20, 2014 at 10:50:07PM +0200, Samuel Thibault wrote: > > > I would advise starting with trivial system calls, such as > > > mach_thread_self, mach_task_self

Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Samuel Thibault
Richard Braun, le Tue 20 May 2014 23:42:24 +0200, a écrit : > On Tue, May 20, 2014 at 10:50:07PM +0200, Samuel Thibault wrote: > > I would advise starting with trivial system calls, such as > > mach_thread_self, mach_task_self, and mach_host_self, which don't take > > any parameter, and just return

Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Richard Braun
On Tue, May 20, 2014 at 10:50:07PM +0200, Samuel Thibault wrote: > I would advise starting with trivial system calls, such as > mach_thread_self, mach_task_self, and mach_host_self, which don't take > any parameter, and just returns a port. That'll make you implement the > basic infrastructure for

Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Samuel Thibault
I forgot to mention: please come and stay on #hurd, so we get to talk whenever we happen to be connected at the same time. You will very probably need help with diving into valgrind and gnumach, don't hesitate to ask questions, we're here to help you! (but we can't help you if you don't come and as

Re: GSOC - Valgrind for Hurd

2014-05-20 Thread Samuel Thibault
Hello, I would advise starting with trivial system calls, such as mach_thread_self, mach_task_self, and mach_host_self, which don't take any parameter, and just returns a port. That'll make you implement the basic infrastructure for the trap call. Then calls like task_terminate, task_suspend, etc

GSOC - Valgrind for Hurd

2014-05-19 Thread Subhashish Pradhan
Hello, This week I'll be trying to understand and implement how to pass a syscall to the kernel, whilst having the simulator retain control (step 4) in my proposal along with building a Valgrind instance on GNU Hurd and checking for the unhandled kernel traps (step 1). As, for the wrappers, they'