Title: efence Version: 1 Submitted: Sep 1 1993 Author: bruce@pixar.com (Bruce Perens) Submittor: bruce@pixar.com (Bruce Perens) Description: Electric Fence, a debugging malloc() library Electric Fence is a different kind of malloc() debugger. It uses the virtual memory hardware of your system to detect when software overruns the boundaries of a malloc() buffer. It will also detect any accesses of memory that has been released by free(). Because it uses the VM hardware for detection, Electric Fence stops your program on the first instruction that causes a bounds violation. It's then trivial to use a debugger to display the offending statement. This version will run on: All System V Revision 4 platforms (and possibly earlier revisions) including: Every 386 System V I've heard of. Solaris 2.x SGI IRIX 5.0 (but not 4.x) IBM AIX on the RS/6000. SunOS 4.X (using an ANSI C compiler and probably static linking). HP/UX 9.01, and possibly earlier versions. The software license and complete information on its use are in the man page: libefence.3 . bruce@pixar.com (Bruce Perens)