efence is a little script to run a program under gdb with electric-fence enabled to detect malloc buffer overruns. Using electric-fence alone gives a segv when a problem is encountered. Running it under gdb means you can see the offending instruction etc (with "where" or "disassemble" etc in the usual way).

This efence script is free software (free as in freedom), published under the terms of the GNU General Public License (v2 or higher). Download version 1 here:

efence (3k, and sig)

Chmod to make efence executable for use. The sig is a Gnu PG ascii armoured signature generated from my key.

This page Copyright 2007, 2008, 2009, 2013, 2014, 2015, 2016 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

(Back to the sitemap.)