|
From: Chris J. <ch...@at...> - 2004-03-01 19:42:38
|
> Hi guys. > My name is Rajesh and I am a student of Computer Sci in India. I want to write a valgrind like utility for Windows. I know > I sound silly but How do I start? I am sorry if I am bothering u guys I think your main work will be in re-writing vg_mylibc.c and vg_syscalls.c. vg_mylibc.c is ok to re-write but for vg_syscalls.c you need to know all the Windows syscalls, what parameters they take, etc. Not all of these are documented but you can typically work out most of the parameters by disassembling the Nt* preamble for a Zw* system call. There are two main system call tables, one for the standard Zw* calls and another for GDI, etc. calls. I have no idea what system calls are contained in the second table but i have seen some calls documented somewhere. I am willing to help you if you want. I recommend you buy Windows NT/2000 Native API reference by Garry Nebbett. Chris |