Results 1 to 2 of 2
hello,
can any body tell me , what is the difference between valgrind and electric fence ....
or pls give me a suggestion where i can get the difference between ...
- 04-15-2007 #1Linux Newbie
- Join Date
- Oct 2006
- Posts
- 107
doubt on gdb
hello,
can any body tell me , what is the difference between valgrind and electric fence ....
or pls give me a suggestion where i can get the difference between them...
Thanks in Advance
- 04-16-2007 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 18
Valgrind will show you leaks in memory, how many memory blocks where allocated, how many freed, etc. If it comes to 'electric fence' it runs your program and stops when there is a problem with memory (allocated by malloc for example) and displays the line of the code which caused the error.
Cheers


Reply With Quote