View Single Post
Re: Electric Fence linux
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Electric Fence linux - 20-04-2004

Found on google

http://perens.com/FreeSoftware/
"my malloc() debugger for Linux and Unix. This will stop your program on the exact instruction that overruns or under-runs a malloc() buffer. "

http://packages.debian.org/unstable/...electric-fence
Package: electric-fence (2.1.13-0.1)

A malloc(3) debugger



Electric Fence is a debugger that uses virtual memory hardware to detect illegal memory accesses. It can detect two common programming bugs: software that overruns or underruns the boundaries of a malloc() memory allocation, and software that touches a memory allocation that has been released by free().

Unlike other malloc() debuggers, Electric Fence will detect read accesses as well as writes, and it will stop and pinpoint the exact instruction that causes an error. It is not as thorough as Purify, however. In order to debug a program it needs to be linked with Electric Fence's library or dynamic linking needs to be used; README.Debian explains that in detail.

...

i have a dozen of those links:
http://www.opennet.ru/prog/info/1373.shtml
http://www.portalux.com/detail?oid=2695
http://linux.maruhn.com/sec/electricfence.html

as far as i can tell from this information. It is a debugging tool as you described.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote