On Thursday, February 23, 2012 02:02:23 PM Eliot Moss wrote:
> On 2/23/2012 7:51 AM, jee wrote:
> > My code change itself with running, and, I use
> > VALGRIND_DISCARD_TRANSLATIONS with I changed the function's assembly

> You have self-modifying code, so probably need to specify
> some flavor of the --smc-check option to valgrind. See the

They are mutually redundant (in this case).  VALGRIND_DISCARD_TRANSLATIONS
is a way for the program to feed invalidation hints to Valgrind, so as
to tell it to discard translations without invoking the overheads
of --smc-check=all or all-non-file.

J

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to