4.3. Use of MALLOCDEBUG options
This section explains the use of the MALLOCDEBUG environment variable by providing the following sections:
Section 4.3.1, “MALLOCDEBUG with the debug memory allocator” on page 182
Section 4.3.2, “MALLOCDEBUG with memory allocators other than debug” on page 190
4.3.1. MALLOCDEBUG with the debug memory allocator
The debug memory allocator supports the following options specified by the MALLOCDEBUG environment variable:
“align:N” on page 183
“validate_ptrs” on page 185
“postfree_checking” on page 186
“allow_overreading” on page 188
“override_signal_handling” on page 188
“record_allocations” on page 189
“report_allocations” on page 189
Note
The debug memory allocator does not support the MALLOCDEBUG options explained in ...
Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.