BSD Ports

devel/ElectricFence 2.0.5p0 OpenBSD

library providing malloc debugging via VM protection

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

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.

In the other systems

The newest version among them is 2.2.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/ElectricFence2.0.5p0no data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/ElectricFence2.2.2_3 newestnone known-[email protected]-
DragonFlydevel/ElectricFence2.2.2_3 newestnone known-[email protected]-
HardenedBSDdevel/ElectricFence2.2.2_3 newestno data-[email protected]-
GhostBSDdevel/ElectricFence2.2.2_3 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add electricfence

From the ports tree:

cd /usr/ports/devel/ElectricFence && make install

Dependencies

No port depends on this one.