|
From: Mayukh B. <ma...@gm...> - 2006-03-03 18:11:21
|
Hi, I am a IBM Purify user looking to start serious valgrind memchecking. One of the requirements for migrating is that my program "foo" absolutely needs to know that it is being run by valgrind. Using that knowledge, it will not do certain things. Purify would give me that information through a variable and foo would know easily that "purify_is_running" or not. What could be possible ways of getting the same effect in valgrind? Is there an environment variable that valgrind would set that foo can look for? Thanks, -Mayukh. |