Electric Fence (eFence) is a debugger that uses virtual memory
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.
eFence triggers a program crash when the memory error occurs,
so a debugger can be used to inspect the code that caused the error.
By combining Electric Fence with gdb, you can track down
exactly what line tried to access the protected memory.
to Debuggers Home Page
| Electric Fence 2.1.14
Free to download
Linux kernel 1.1.83 or greater
Last Updated Sunday, September 22 2013 @ 04:13 AM EDT