|
From: Nicholas N. <nj...@cs...> - 2006-08-16 23:56:05
|
On Wed, 16 Aug 2006, Karai Csaba wrote: > If you, developers are interested, I would write a new component for > valgrind, a precompiler. > > The precompiler would modify the C/C++ code to detect more memory > errors in the program. > > How it would work? > > - one should compile with valgrind-cc instead of gcc > - valgrind-cc calls the gcc -E for getting a clean code > without macros and includes > - after that it modifies the code for further checks > - compiles the modified code It sounds like this would be a totally different tool -- certainly complementary to Valgrind, but not particularly related. Another random point of note: people really like dynamic instrumentation because it's so easy to use -- you don't have to recompile anything or do any other kind of preparation. People *really* like that. Nick |