|
From: <sv...@va...> - 2005-04-25 15:49:16
|
Author: sewardj
Date: 2005-04-25 16:49:10 +0100 (Mon, 25 Apr 2005)
New Revision: 3566
Modified:
trunk/coregrind/vg_main.c
Log:
For the time being, disable chasing across basic block boundaries.
This fools the redirector to the extent that that strlen et al do not
get reliably intercepted, and hence makes memcheck report some false
errors. Fixing the redirector properly really entails getting rid of
the circularity between the two memory allocators, but that is more
than I have time to sort out right now.
Modified: trunk/coregrind/vg_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/vg_main.c 2005-04-25 15:42:57 UTC (rev 3565)
+++ trunk/coregrind/vg_main.c 2005-04-25 15:49:10 UTC (rev 3566)
@@ -1581,6 +1581,15 @@
=20
LibVEX_default_VexControl(& VG_(clo_vex_control));
=20
+ /* For the time being, disable chasing across basic block
+ boundaries. This fools the redirector to the extent that that
+ strlen et al do not get reliably intercepted, and hence makes
+ memcheck report some false errors. Fixing the redirector
+ properly really entails getting rid of the circularity between
+ the two memory allocators, but that is more than I have time to
+ sort out right now. */
+ VG_(clo_vex_control).guest_chase_thresh =3D 0;
+
/* parse the options we have (only the options we care about now) */
for (i =3D 1; i < vg_argc; i++) {
=20
|