Hi,

I was recently using Valgrind to investigate some issues with QEMU's
multi-threading behaviour. One problem was without locking the code
generator multiple threads started accessing the codegen buffer and
hilarity ensued.

Is it possible for the DRD/Helgrind tools to detect this sort of
double-write access behaviour? Could I instrument QEMU so it marked the
codegen buffer as one that should only grow upwards (modulo-patchable
bits) so if anything re-wrote the buffer it could trigger an error?

-- 
Alex Bennée


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to