From: Nicholas Nethercote Date: Mon, 26 Mar 2007 23:52:19 +0000 (+0000) Subject: Fix bug 142491: allow more --alloc-fn functions (128, up from 32). X-Git-Tag: svn/VALGRIND_3_2_3~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3abb1b23ddfe1d9f38c470dcf060b9c4266bb1;p=thirdparty%2Fvalgrind.git Fix bug 142491: allow more --alloc-fn functions (128, up from 32). MERGED FROM TRUNK git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH@6672 --- diff --git a/massif/ms_main.c b/massif/ms_main.c index 98402894c0..9464ec3ebc 100644 --- a/massif/ms_main.c +++ b/massif/ms_main.c @@ -248,10 +248,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)",