Download Source Package electric-fence:
Electric Fence is a debugger that uses virtual memory hardware to detect illegal memory accesses. It can detect two common programming bugs: software that overruns or underruns the boundaries of a malloc() memory allocation, and software that touches a memory allocation that has been released by free().
Unlike other malloc() debuggers, Electric Fence will detect read accesses as well as writes, and it will stop and pinpoint the exact instruction that causes an error. It is not as thorough as Purify, however.
In order to debug a program it needs to be linked with Electric Fence's library or dynamic linking needs to be used; README.Debian explains that in detail.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| alpha | 25.3 kB | 120 kB | [list of files] |
| amd64 | 22.0 kB | 108 kB | [list of files] |
| armel | 21.0 kB | 96 kB | [list of files] |
| hppa | 24.7 kB | 104 kB | [list of files] |
| hurd-i386 | 21.3 kB | 96 kB | [list of files] |
| i386 | 21.5 kB | 96 kB | [list of files] |
| ia64 | 27.5 kB | 124 kB | [list of files] |
| kfreebsd-amd64 | 22.0 kB | 74 kB | [list of files] |
| kfreebsd-i386 | 21.2 kB | 64 kB | [list of files] |
| m68k (unofficial port) | 21.0 kB | 96 kB | [list of files] |
| mips | 22.0 kB | 108 kB | [list of files] |
| mipsel | 22.0 kB | 108 kB | [list of files] |
| powerpc | 24.2 kB | 108 kB | [list of files] |
| s390 | 23.4 kB | 104 kB | [list of files] |
| sparc | 21.8 kB | 100 kB | [list of files] |