Electric Fence linux
Anybody got expirience using "electric fence" on linux ??
Got so far as inluding the libefence.a to the link list. like this. Code:
MOD_DIR = /usr/steam/hlds_l/tod/dlls/shrikebot_i586.so But im a little in the dark what to do next. Documentation on the program is hard to find. Just run the DLL ?? where can expect output ?? :| |
Re: Electric Fence linux
i have never heard of it. Any link for info?
|
Re: Electric Fence linux
Err well that's kinda the problem. hard to find any tut's on it.
but it comes shiped with almost all linux distros. "ElectricFence-2.2.2-13.RPM" It's suppose to detect bad mallocs and overflows. =) From the small bits and piece i found on google i understand it has to be compiled in. But i fail to grasp on how to actually use it. :( |
Re: Electric Fence linux
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. |
Re: Electric Fence linux
yup and that's as far as the story goes
I visited all those linkies before. i do know google a little :D It's just my n00b linux knowledge, im just missing some info somewhere down the line. =========== edit. Ahh i think i got something going here. man libefence |
Re: Electric Fence linux
Quote:
I'm sure lots of things are going better now. :D |
Re: Electric Fence linux
Well to be honest i doubt it will ever turn a up an error.
I can run the server/bot for days on linux. Trying to catch the bogus message id that was reported in the shrikebot section. |
All times are GMT +2. The time now is 12:25. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.