Nicholas Nethercote 61448c507d We have a nice little collection of text files describing various high
level things.  But they're all over the place.  This commits moves
them all to the new docs/internals/ directory, and gives them 
a consistent naming scheme.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196
2005-07-19 21:46:19 +00:00

15 lines
665 B
Plaintext

This module handles the complex business of handing system calls off
to the host and then fixing up the guest state accordingly. It
interacts complicatedly with signals and to a less extent threads.
There are some important caveats regarding how to write the PRE and
POST wrappers for syscalls. It is important to observe these, else
you will have to track down almost impossibly obscure bugs. These
caveats are described in comments at the top of syswrap-main.c.
The main file is syswrap-main.c. It contains all the driver logic
and a great deal of commentary. The wrappers themselves live in
syswrap-generic.c, syswrap-${OS}.c and syswrap-${PLATFORM}.c.