blob: 61f2ff8ee433ddae691f9c6bc97e72c295274f06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
This is Memory Allocation Checker package. Main features:
* Fault on pointer overrun (read or write).
* Fault on freed pointer dereference (read or write).
* Log double free or realloc of already freed pointer.
* Log memory not freed on exit.
* Check for pointer underrun on free/realloc.
* Set level of logging.
* Optionally reverse behaviour of overrun and underrun.
* Optionally "churn" reallocations. Always return a different pointer.
* Optionally log pointer overruns instead of faulting.
* Optionally return freed memory to system. (May hurt checking for freed
pointer usage).
* Optionally log "large" allocations.
* Optionally run out-of-memory after a specified amount of memory has
been used.
* Very small performance impact.
* Large memory footprint impact.
WWW: http://hald.dnsalias.net/projects/memcheck/
|