|
From: Jack <vm...@gm...> - 2015-05-26 04:38:21
|
Dear all thank u guys, Philippe and Tom it's a good direction i will try to do actully i read valgrind FAQ before , but i just read memcheck part and passed others....haha i have read them again appreciation again jack > Philippe Waroquiers <phi...@sk...> 於 2015年5月25日 下午8:38 寫道: > > On Mon, 2015-05-25 at 12:41 +0100, Tom Hughes wrote: >> On 25/05/15 12:26, Jack wrote: >> >>> so i wrote an test program on pc to test valgrind ability of program internal memory breaking >>> but somehow it seems can't fetch program internal over-writing and under-writing global or local valuable?? >> >> http://valgrind.org/docs/manual/faq.html#faq.overruns >> >> Tom >> > As explained in the reference given by Tom, memcheck does not find > over/under-run bugs in local or global variables. > > For that, you might try the experimental tool --tool=exp-sgcheck > > (sgcheck = s-tack or g-lobal check) > > Philippe > > > |