On 12/12/12 19:09, Alfonso Acosta wrote:

> It seems that Valgrind doesn't like this kind of run-time modifications
> since it crashes on the first call to the hijacked calloc whereas the
> program runs just fine when not involving Valgrind.

You need to use --smc-check=all if your code is self modifying.

Tom

-- 
Tom Hughes ([email protected])
http://compton.nu/

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to