On Sun, Aug 12, 2012 at 7:10 PM, John Reiser <jrei...@bitwagon.com> wrote:

> On 08/12/2012 06:44 PM, Patrick J. LoPresti wrote:
>
> > Or, you know, we could instead spend effort fixing Valgrind's machine
> emulator to match the memory model of real machines.
>
> Your idea of "real machine" is not the same as mine.
>
>
Perhaps.  My definition does, however, encompass the machine on your
desktop, and the machine on my desktop, and the machine on the desktop of
approximately every person reading this text.

In particular, it includes every every PowerPC based system since 1998 or
so (AltiVec) and every x86 based system since 1996 or so (MMX).  That is,
assuming it is running an operating system like OS X or Windows or BSD or
Linux.

I apologize for using such a vague term as "real" to describe such exotic
systems.

...

OK, to be serious for a moment.  I am sorry if I am being a jerk, but I
really do think any argument for interceptors based on "speed" is nonsense.
 And arguments based on "we can't emulate that", when there is in fact a
clear way to emulate that, increasingly sound to me like nonsense.

I am using a compiler, right now, today, that generates these optimizations
routinely.   GCC has not caught up yet, but I continue to believe that it
will.  Actually, I hope it does soon, because obviously Valgrind's
developers will not care about this issue until then, and meanwhile
Valgrind is completely unusable for me.

Interceptors are (a) a band-aid solution that will need to be applied over
and over and over, and (b) useless for fixing my problem (i.e. my compiler
is too smart).

Of course, it is free software, so I guess I should fix it myself.  But
that is not a trivial undertaking and I really do not have the time. So as
this problem hits people over and over and over, I encourage those
encountering it to add their voices to mine to see it fixed once,
permanently.

 - Pat
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to