On Thu, Apr 8, 2010 at 9:36 AM, Oliver Schneider <oli...@f-prot.com> wrote: > > If I would develop a patch that allows to give a command line switch > that causes Valgrind to report copying immediately, would that be > something that would be considered for the mainstream version? Or is it > not even worth sending?
It's easy to do, but gives bazillions of warnings even for the most trivial programs. Even if you religiously avoid undefined values in your code (eg. by padding out your structs) all the libraries you use will copy undefined values around like crazy. http://www.valgrind.org/njn/pubs/memcheck2005.pdf may be worth reading for more background. Nick ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users