[Valgrind-users] Using custom memory allocators with valgrind?

2012-04-03 Thread ольга крыжановская
How do I use custom memory allocators with valgrind? We'd like to use the memory allocators from ATT libast but also like to use valgrind for (automated) error checking. Is there any howto document how to do this? Olga --       ,   _                                    _   ,      { \/`o;-   

Re: [Valgrind-users] Using custom memory allocators with valgrind?

2012-04-03 Thread Philippe Waroquiers
On Tue, 2012-04-03 at 22:06 +0200, ольга крыжановская wrote: How do I use custom memory allocators with valgrind? We'd like to use the memory allocators from ATT libast but also like to use valgrind for (automated) error checking. Is there any howto document how to do this? Olga

Re: [Valgrind-users] Using custom memory allocators with valgrind?

2012-04-03 Thread ольга крыжановская
Philippe, libast provides both malloc replacement and a complex allocation system based on io streams, e.g.sort of stdio with disciplines on steroids where even string buffers, or lists and trees of (nested) string buffers, can be a io stream or memory buffer. Is it really wise to modify

Re: [Valgrind-users] Using custom memory allocators with valgrind?

2012-04-03 Thread Philippe Waroquiers
On Tue, 2012-04-03 at 22:40 +0200, ольга крыжановская wrote: Philippe, libast provides both malloc replacement and a complex allocation system based on io streams, e.g.sort of stdio with disciplines on steroids where even string buffers, or lists and trees of (nested) string buffers, can be a