About custom memory managers

An important part of Purify's error detection involves tracking malloc and free calls. If you use custom memory-management layers rather than calling malloc or free directly, you might need to modify them slightly to make them compatible with Purify.

You can preserve your custom memory manager's semantics and implementation during normal operation, but provide an alternate implementation that uses malloc and free when the program is Purify'd.

Types of custom memory managers

There are five categories of custom memory managers: