On Fri, 2015-04-24 at 01:13 +0900, ISHIKAWA,chiaki wrote: > Can valgrind print value of used uninitialized memory location, say, > something along the suggested manner below? I am not a specialist in the way memcheck does all that, but at first sight, I do not see major difficulties to implement that. However, as far as I can see, it would imply to add a new PARAM to all the error reporting helpers, which means the generated code will grow and/or be less efficient. Growing the generated code just for that seems not that attractive.
As an alternative, when an error is encountered, you can debug your program (using vgdb) at the moment of the error, and e.g. examine the value of the variables and/or the definedness of what is used in the conditional jump. Philippe ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users