What is it all about?
Electric Fence (or eFence) is a memory debugger written by Bruce Perens. It consists of a library which programmers can link into their code to override the C standard library memory management functions. eFence triggers a program crash when the memory error occurs, so a debugger can be used to inspect the code that caused the error.
* Electric Fence is intended to find two common types of programming bugs: * Overrunning the end (or beginning) of a dynamically allocated buffer * Using a dynamically allocated buffer after returning it to the heap