Hi

I am new to Valgrind. When I use valgrind to try to develop my own tool, I
come across a confusion.

I want to do a reverse taint analysis and my taint sink is  the content in
the syscall_send.

First I need to wrap the send function. I review some code written  by
others. I noticed that VG_(needs_syscall_wrapper)
and VG_(needs_client_requests) both can wrapper the function, right?

For VG_(needs_syscall_wrapper) , we can switch the syscall number to
wrapper the functin.
For VG_(needs_client_requests), we can switch the function name
by VALGRIND_DO_CLIENT_REQUEST_STMT.

I am not sure whether my understanding is right or not. I don't know the
use of VG_(needs_client_requests).

Besides, it would be great if someone could give me some hind on
implementing the reverse taint analysis by valgrind. Many Thanks

Regards
Muhui
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to