From: Nicholas Nethercote Date: Mon, 26 Mar 2007 23:51:29 +0000 (+0000) Subject: Fix bug 142491: allow more --alloc-fn functions (128, up from 32). X-Git-Tag: svn/VALGRIND_3_3_0~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=904b84c436338c00015f7e44c4559d98e96a0986;p=thirdparty%2Fvalgrind.git Fix bug 142491: allow more --alloc-fn functions (128, up from 32). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6671 --- diff --git a/massif/ms_main.c b/massif/ms_main.c index dda642f875..6c9ab8946a 100644 --- a/massif/ms_main.c +++ b/massif/ms_main.c @@ -250,10 +250,10 @@ static UInt n_heap_blocks = 0; // Current directory at startup. static Char base_dir[VKI_PATH_MAX]; -#define MAX_ALLOC_FNS 32 // includes the builtin ones +#define MAX_ALLOC_FNS 128 // includes the builtin ones // First few filled in, rest should be zeroed. Zero-terminated vector. -static UInt n_alloc_fns = 11; +static UInt n_alloc_fns = 10; static Char* alloc_fns[MAX_ALLOC_FNS] = { "malloc", "operator new(unsigned)",