Can I integrate my program's reimplemented execve with Valgrind?

Hello,

Is it possible to integrate a reimplemented execve with Valgrind?  I
am implementing an Linux + GLibc emulator for Windows programs and so
I have to reimplement execve myself (see
https://gitlab.com/sstewartgallus/Sandbox-Libc/blob/master/kernel/src/main.c#L330.)
Unfortunately, this means I also overwrite Valgrind's code itself and
so Valgrind does not work for those processes.  Is it possible to
integrate with Valgrind itself and avoid this problem?  Shouldn't
qemu-user and user-mode Linux have also run into these problems?

Thank you,
Steven Stewart-Gallus


------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to