|
From: Terry S. <So...@co...> - 2004-06-11 20:02:00
|
Hi everyone I'm a new valgrind user, so my question might sound stupid. I'm testing = a visualisation program, its core is written in C++, while the user = interface and 3D rendering are in Xmt and OpenGL. I'm using valgrind to = check for errors of the program. Valgrind automatically checks for = errors in all source codes of the program, but I only need it to check = the C++ codes. I'm wondering how to tell valgrind to only check the C++ = codes, and not the Xmt or OpenGL codes. Thanks a lot everyone Terry Song |
|
From: Nicholas N. <nj...@ca...> - 2004-06-14 09:27:16
|
On Fri, 11 Jun 2004, Terry Song wrote: > I'm a new valgrind user, so my question might sound stupid. I'm testing > a visualisation program, its core is written in C++, while the user > interface and 3D rendering are in Xmt and OpenGL. I'm using valgrind to > check for errors of the program. Valgrind automatically checks for > errors in all source codes of the program, but I only need it to check > the C++ codes. I'm wondering how to tell valgrind to only check the C++ > codes, and not the Xmt or OpenGL codes. You can't, sorry. Valgrind/Memcheck has to check all code. It couldn't work otherwise. N |
|
From: Elijah P N. <ne...@ma...> - 2004-06-14 14:35:08
|
On Fri, 2004-06-11 at 14:01, Terry Song wrote: > Hi everyone > > I'm a new valgrind user, so my question might sound stupid. I'm > testing a visualisation program, its core is written in C++, while the > user interface and 3D rendering are in Xmt and OpenGL. I'm using > valgrind to check for errors of the program. Valgrind automatically > checks for errors in all source codes of the program, but I only need > it to check the C++ codes. I'm wondering how to tell valgrind to only > check the C++ codes, and not the Xmt or OpenGL codes. This is what --gen-suppressions=yes is for. It still checks all the code, but it doesn't report the errors that you've told it to ignore. Elijah |