Next: 19.3.1 memdebug_mark: Mark all
Up: 19 Memory Debugging Utilities:
Previous: 19.2 Debugging versions of
These routines provide
additional features useful for tracking down
memory leaks and dynamic memory corruption.
- memdebug_mark:
- Mark all currently allocated blocks
- memdebug_check:
- Look for blocks allocated since mark that haven't been freed
- memdebug_ptrchk:
- Check validity of a pointer's fence-posts
- memdebug_sweep:
- Check validity of all allocated block's fence-posts
These routines are internal to the memdebug library, but may be
worth overriding in your system.
- memdebug_printf:
- A standard printf-style routine that can be
guaranteed to not allocate any memory.
- memdebug_bogosity:
- Dumps information about an allocation block
when an error in the block is detected.
- memdebug_store_backtrace:
- Stores a back-trace (the call-stack)
in a provided buffer.
University of Utah Flux Research Group