Results 1 to 2 of 2
hi,
If i hav a pre allocated buffer of some 50 byts. Now iam doing to over write this buffer with some data . In that case , what is ...
- 05-05-2007 #1Linux Newbie
- Join Date
- Oct 2006
- Posts
- 107
Valgrind
hi,
If i hav a pre allocated buffer of some 50 byts. Now iam doing to over write this buffer with some data . In that case , what is role of Valgrind ,Means Is valgrind will play any role in this case ? .
The Interviewer has ask me this question?
Pls help me..
Thnaks in Advance.
- 05-05-2007 #2
Valgrind is a memory profiling and debugging utility.
It does plenty of checks to detect memory leak, improper usage of buffer, overwriting memory, and so on.
It also specifies if the allocated memory is overlapped while adding some data at some offset of the given buffer.---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------


Reply With Quote