Port details |
- ElectricFence Debugging malloc() that uses the VM hardware to detect buffer overruns
- 2.2.2_3 devel =17 2.2.2_3Version of this port present on the latest quarterly branch.
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: unknown
- Last Update: 2024-02-23 11:25:07
- Commit Hash: 02a0940
- People watching this port, also watch:: gettext, zip, autoconf, unzip, python
- License: not specified in port
- Description:
- 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.
It will probably port to any ANSI/POSIX system that provides mmap(), and
mprotect(), as long as mprotect() has the capability to turn off all access
to a memory page, and mmap() can use /dev/zero or the MAP_ANONYMOUS flag
to create virtual memory pages.
Complete information on the use of Electric Fence is in the manual page
efence(3).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- electricfence>0:devel/ElectricFence
- To install the port:
- cd /usr/ports/devel/ElectricFence/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/ElectricFence
- pkg install electricfence
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electricfence
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (ElectricFence-2.2.2.tar.gz) = e5be3a38a0d2b71ba558eb310a2db44ea6e7c208e16d4fd907dc6ed11c46b1a7
SIZE (ElectricFence-2.2.2.tar.gz) = 28247
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_ElectricFence
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.2.2_3 23 Feb 2024 11:25:07 |
Muhammad Moinur Rahman (bofh) |
devel/ElectricFence: Moved man to share/man
Approved by: portmgr (blanket) |
2.2.2_2 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.2.2_2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.2.2_2 07 Nov 2019 16:30:12 |
rene |
Clean up support for FreeBSD 11.2.
While here, modernize some comments in Mk/bsd.*.mk.
Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.
Submitted by: rene
Reviewed by: antoine, jbeich, mat, zeising
Differential Revision: https://reviews.freebsd.org/D21974 |
2.2.2_2 26 Feb 2019 22:28:53 |
pi |
devel/ElectricFence: add missing posix_memalign()
The current implementation did not handle posix_memalign().
Programs using posix_memalign() to allocate memory effectively
silently fall back to the standard implementation. Whenever the
program calls free() to release the memory, the efence implementation
is called and barfs that the memory is unknown, leading to a core
dump.
Sadly, many programs use posix_memalign and thus could not be debugged
with efence.
Example use case: See nginx, PR#235296
PR: 235297
Submitted by: topical@gmx.net
Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=603075
https://launchpad.net/ubuntu/+source/electric-fence/+changelog |
2.2.2_2 14 May 2015 10:15:09 |
mat |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
2.2.2_2 28 Jul 2014 16:28:03 |
adamw |
Rename devel/ patch-xy patches to reflect the files they modify. |
2.2.2_2 10 Dec 2013 20:48:33 |
bapt |
Support stage; strip library |
2.2.2_2 20 Sep 2013 17:17:45 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4) |
2.2.2_2 03 Jul 2011 14:59:23 |
ohauer |
-remove MD5 |
2.2.2_2 27 Jul 2007 13:31:55 |
mi |
Add two more patches found in the Linux wild. Would've been
better to be downloading them, but, strangely enough, they
don't seem available in the raw source -- only in the pretty-fied
HTML :-(
Of the two remaining once, the ElectricFence-2.2.2-madvise.patch
is currently causing me unexplained crashes, and the
ElectricFence-2.2.2-pthread.patch does not seem to matter for us,
because we don't USE_SEMAPHORE:
http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-madvise.patch.html
http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-pthread.patch.html |
2.2.2_2 27 Jul 2007 13:00:52 |
mi |
Add a patch found on RedHat mailing list. It is quite important,
where size_t is wider than int...
Bump PORTREVISION. |
2.2.2_1 22 Apr 2007 12:25:44 |
des |
Preserve whitespace in the argument list. This can be tested by running
"ef.sh /bin/echo a\ \ b"; the correct output is "a b\n", but before this
commit it would print "a b\n" instead. |
2.2.2 22 Oct 2006 04:56:07 |
lawrance |
Disable self-tests which fail on pointyhat due to differences in
expected signal delivery between 7.x host and 6.x jail. See patch
comment for more info.
Approved by: portmgr (kris) |
2.2.2 14 Aug 2006 22:55:18 |
clsung |
- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include comms/ converters/ databases/ devel/ maintained by ports@
PR: ports/101916
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org> |
2.2.2 01 Feb 2006 01:36:43 |
lawrance |
Fix build on i386 -current. |
2.2.2 24 Nov 2005 15:40:04 |
pav |
- Add some SHA256 checksums |
2.2.2 05 Nov 2005 18:35:06 |
arved |
Try to unbreak on amd64-CURRENT.
Not sure, why suddently a differnt signal is triggered by the eftest
program. |
2.2.2 16 Oct 2005 15:12:31 |
vs |
- Prune MASTER_SITES: this particular flavour is no longer available from
perens.com
- Nuke 3-line plist while here
Noticed by: fenner's magical distfile survey |
2.2.2 07 May 2004 08:31:14 |
vs |
- Unbreak on non-std hardware: Use -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
on all archs except alpha.
- Pass CC through while here.
PR: ports/65878
Submitted by: Tim Robbins |
2.2.2 29 Jan 2004 07:24:56 |
trevor |
SIZEify. |
2.2.2 24 Dec 2003 09:27:51 |
linimon |
Per bento logs, mark as broken on the 64-bit architectures. |
2.2.2 02 Mar 2003 16:40:15 |
naddy |
Update master sites.
PR: 48827
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> |
2.2.2 20 Feb 2003 17:07:10 |
knu |
De-pkg-comment. |
2.2.2 13 Jan 2003 17:25:37 |
fjoe |
Disable printing version upon initialization.
This will allow using ElectricFence in multithreaded programs
(programs linked with libc_r). |
2.2.2 16 Mar 2002 17:25:07 |
obrien |
Fix bad reference.
PR: 35977
Submitted by: Slaven Rezic <slaven.rezic@berlin.de> |
25 May 2001 11:00:21 |
obrien |
If a user has set the EF_ALIGNMENT, EF_PROTECT_BELOW or EF_PROTECT_FREE
variables, this can cause the ElectricFence self test to fail. |
03 May 2001 09:34:57 |
obrien |
Fix incompatiblities in the script. |
28 Feb 2001 10:22:59 |
obrien |
Install the shared lib version and ef wrapper script. |
22 Nov 2000 00:17:18 |
obrien |
Add $FreeBSD$'s which help me in problem reports. |
08 Oct 2000 02:10:04 |
asami |
Convert category devel to new layout. |
22 Sep 2000 11:30:31 |
kris |
Correct PLIST |
27 Aug 2000 02:34:16 |
obrien |
Update to version 2.2.2. |