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 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users