Nicholas Nethercote
40571c6f66
Added VALGRIND_MALLOCLIKE_BLOCK and VALGRIND_FREELIKE_BLOCK which allow you to
...
use a custom-allocator and detect almost as many errors as you could detect if
you used malloc/new/new[]. (eg. leaks detected, free errors, free mismatch,
etc).
Had to fiddle with mac_malloc_wrappers.c a bit to factor out the appropriate
code to be called from the client request handling code. Also had to add a
new element `MAC_AllocCustom' to the MAC_AllocKind type.
Also added a little documentation, and a regression test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1643
2003-05-20 16:38:24 +00:00
..
2003-05-02 17:54:33 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-10-04 14:16:38 +00:00
2003-05-05 16:18:51 +00:00
2002-10-04 14:16:38 +00:00
2002-10-04 14:16:38 +00:00
2003-05-20 16:38:24 +00:00
2003-05-20 16:38:24 +00:00
2003-05-20 16:38:24 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2003-05-02 17:40:43 +00:00
2003-04-21 13:24:40 +00:00
2003-04-21 13:24:40 +00:00
2003-04-21 13:24:40 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2003-05-05 16:18:51 +00:00
2003-05-05 16:33:53 +00:00
2003-05-05 16:18:51 +00:00
2003-05-05 09:09:08 +00:00
2003-04-24 00:40:38 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-20 16:38:24 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2003-04-15 13:03:23 +00:00
2003-04-15 13:03:23 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2003-02-26 10:16:02 +00:00
2003-05-02 16:19:10 +00:00
2003-05-02 16:19:10 +00:00
2003-05-02 16:19:10 +00:00
2003-05-02 17:24:29 +00:00
2003-05-05 16:18:51 +00:00
2003-04-15 13:03:23 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 09:23:12 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-04-24 00:40:38 +00:00
2003-04-24 00:40:38 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2002-10-07 14:46:07 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00
2003-04-15 13:03:23 +00:00
2002-09-23 09:36:25 +00:00
2002-10-06 00:08:57 +00:00
2003-05-05 16:18:51 +00:00
2003-05-05 09:23:12 +00:00
2002-09-23 09:36:25 +00:00
2003-05-05 16:18:51 +00:00
2002-09-23 09:36:25 +00:00
2002-09-23 09:36:25 +00:00