devel/electric-fence 2.1.13.0.1nb2 NetBSD
Different kind of malloc() debugger
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- devel
- Package size
- 29.0 KiB, 127.9 KiB installed
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.
Install
Binary package:
pkgin install electric-fence
From pkgsrc:
cd /usr/pkgsrc/devel/electric-fence && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.1.13.0.1nb2 |
| NetBSD 10.1 aarch64 | 2.1.13.0.1nb2 |
| SmartOS / illumos x86_64 | 2.1.13.0.1nb2 |
| macOS 15 arm64 | - |
Dependencies
No port depends on this one.