Bug 208197 - redzone size should be commandline option
Summary: redzone size should be commandline option
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR wishlist
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 18:45 UTC by Dan Kegel
Modified: 2013-03-31 20:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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