info leaks filename
info leak leaknumber
set
set
set
set
set
catch nomem
set
set
Writes the complete leak report output to the specified file.
Produces detailed information on the specified leak including the allocation call stack.
Instructs WDB to stop the program whenever it tries to allocate a block larger than
Instructs WDB to stop the program whenever it tries to increase the program heap by at least
This option reports the heap allocations that exceed the specified number <num> of bytes based on the cumulative number of bytes that are allocated at each
Stops the program whenever a block at a specified address is allocated or deal- located.
Force malloc to return NULL after N or random number of invocations of malloc. Use set
Force malloc to return NULL after N bytes have been allocated by the program.
Allows the user to get control of an
When set to on, forces WDB to stop the program when it detects a call to free() with an improper argument, a call to realloc() that does not point to a valid currently allocated heap block, or a call to free a block of memory, which has been corrupted. Refer set
Toggles validation of calls to strcpy, strncpy, memcpy, memccpy, memset, memmove, bzero,
14.10 Debugging Memory Problems 161