Bug 208197

Summary: redzone size should be commandline option
Product: [Developer tools] valgrind Reporter: Dan Kegel <dank>
Component: memcheckAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: wishlist CC: philippe.waroquiers
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dan Kegel 2009-09-22 18:45:09 UTC
Version:            (using Devel)
OS:                OS X
Installed from:    Compiled sources

Changing memcheck/mc_include.h like this:
 /* We want at least a 16B redzone on client heap blocks for Memcheck */
-#define MC_MALLOC_REDZONE_SZB    16
+#define MC_MALLOC_REDZONE_SZB    64

found interesting stuff.

Methinks the redzone size should be more easily configurable,
ideally with a commandline option.  The current arbitrary
limit of 127 should probably be raised, too.
Comment 1 Philippe Waroquiers 2013-03-31 20:40:43 UTC
--redzone-size=<number> was implemented in 3.8.0