|
From: Yin, H. <hu...@me...> - 2005-10-04 20:21:14
|
I wonder whether it is possible for valgrind to take the suppression information via an api rather than via a suppression file. We are advocating the valgrind memcheck tool to our customer. All the user code from customers will be loaded into our software as shared libraries and get executed. If we use a suppresion file to suppress the error reports from our own code, then we have to ship suppression file to the customer. And we don't want to expose that information. It would be much desired if a valgrind api is available for adding suppression information from inside our software. Is this possible? =20 Is there other possible approach exploiting the fact that our own code and the user code have a clear boundary. All user code will be in the shared libraries. Is there an existing client request mechanism we can use to limit the memcheck or error report on shared libraries only? =20 I appreciate your help. =20 Regards, --Hui |