> Is there any way I could mark an interesting location in memory with
> the client mechanism and then get
> Valgrind to show me a backtrace everytime the location was touched? If
> not it would be a really useful tool :-)

yeh

  #include <memcheck/memcheck.h>

  VALGRIND_MAKE_MEM_UNADDRESSABLE(address, size);

See memcheck/tests/clientperm.c for an example.

J


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to