Download List

Project Description

Electric Fence (efence) stops your program on the exact instruction that overruns (or underruns) a malloc() memory buffer. GDB will then display the source-code line that causes the bug. It works by using the virtual-memory hardware to create a red-zone at the border of each buffer - touch that, and your program stops. Catch all of those formerly impossible-to-catch overrun bugs that have been bothering you for years.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2005-01-04 14:38
2.4.11

Broken signal handling was fixed in the confidence
test program eftest. The second SIGSEGV signal
stopped getting caught from the signal handler.
setjmp/longjmp was changed to
sigsetjmp/siglongjmp, and calls to sigprocmask
were added to unblock further signals.
Tags: Major bugfixes

2004-07-20 03:36
2.4.10

This release adds support for MS Windows, adds some C++ support, and adds leak detection.
Tags: Major feature enhancements

2001-01-30 15:12
2.2.2

Fixed shared library to be position-independent code.

2001-01-30 15:12
2.2.0

Electric Fence will now debug multi-threaded programs correctly.
Besides the static version, it's loadable as a shared library
using LD_PRELOAD, thus you don't have to re-link your program to
debug it with Electric Fence. The command "ef <command>
will run any dynamic-linked executable under Electric
Fence and a bug concerning EF_PROTECT_FREE has been repaired.

2001-01-30 15:12
2.1

I'm putting out the stable version before I start to patch in
thread-safeness and other modifications I've been sent. This would
be a good time to send me patches.

Project Resources