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.
|
|
|
| 硬件架构 | 软件包大小 | 安装后大小 | 文件 |
|---|---|---|---|
| alpha | 25.3 kB | 120 kB | [文件列表] |
| amd64 | 22.0 kB | 108 kB | [文件列表] |
| armel | 21.0 kB | 96 kB | [文件列表] |
| hppa | 24.7 kB | 104 kB | [文件列表] |
| hurd-i386 | 21.3 kB | 96 kB | [文件列表] |
| i386 | 21.5 kB | 96 kB | [文件列表] |
| ia64 | 27.5 kB | 124 kB | [文件列表] |
| kfreebsd-amd64 | 22.0 kB | 74 kB | [文件列表] |
| kfreebsd-i386 | 21.2 kB | 64 kB | [文件列表] |
| m68k (非官方移植版) | 21.0 kB | 96 kB | [文件列表] |
| mips | 22.0 kB | 108 kB | [文件列表] |
| mipsel | 22.0 kB | 108 kB | [文件列表] |
| powerpc | 24.2 kB | 108 kB | [文件列表] |
| s390 | 23.4 kB | 104 kB | [文件列表] |
| sparc | 21.8 kB | 100 kB | [文件列表] |