📄 readme
字号:
This is Electric Fence 2.0.5Electric Fence is a different kind of malloc() debugger. It uses the virtualmemory hardware of your system to detect when software overruns the boundariesof a malloc() buffer. It will also detect any accesses of memory that hasbeen released by free(). Because it uses the VM hardware for detection,Electric Fence stops your program on the first instruction that causesa bounds violation. It's then trivial to use a debugger to display theoffending statement.This version will run on: Linux kernel version 1.1.83 and above. Earlier kernels have problems with the memory protection implementation. 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. OSF 1.3 (and possibly earlier versions) on a DECalpha.On some of these platforms, you'll have to uncomment lines in the Makefilethat apply to your particular system.If you test Electric Fence on a platform not mentioned here, please send me areport.It will probably port to any ANSI/POSIX system that provides mmap(), andmprotect(), as long as mprotect() has the capability to turn off all accessto a memory page, and mmap() can use /dev/zero or the MAP_ANONYMOUS flagto create virtual memory pages.Complete information on the use of Electric Fence is in the manual pagelibefence.3 . Thanks Bruce Perens Bruce@Pixar.com
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -