Thanks for the response. This seems a good idea. Do you know if I can get the output file name from valgrind programmatically (want to write a common pre-loaded lib which is independent of running process context) ? One way might be to submit a "psu" command and process the output, are there better ways ?
-----Original Message----- From: John Reiser [mailto:jrei...@bitwagon.com] Sent: Monday, July 02, 2018 9:52 AM To: valgrind-users@lists.sourceforge.net Subject: Re: [Valgrind-users] Iterate over leaked memory progamatically > Is it possible to do below with valgrind (e.g. using client requests) > programmatically > > -Iterate over all leaked blocks > > -Get the stack trace and leaked memory address > > I know above can be done with the combination of gdb and vgdb, I want to know > if this can be done in source code itself. The program can find, read, and process valgrind's .xml output, although of course this is another "back door" method. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users Please read these warnings and restrictions: This e-mail transmission is strictly confidential and intended solely for the ordinary user of the e-mail address to which it was addressed. It may contain legally privileged and/or CONFIDENTIAL information. The unauthorised use, disclosure, distribution and/or copying of this e-mail or any information it contains is prohibited and could, in certain circumstances, constitute a criminal offence. If you have received this e-mail in error or are not an intended recipient please inform London Stock Exchange Group (“LSEG”) immediately by return e-mail or telephone 020 7797 1000. LSEG may collect, process and retain your personal information for its business purposes. For more information please see our Privacy Policy. We advise that in keeping with good computing practice the recipient of this e-mail should ensure that it is virus free. We do not accept responsibility for any virus that may be transferred by way of this e-mail. E-mail may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or any consequences thereof. Calls to London Stock Exchange Group may be recorded to enable LSEG to carry out its regulatory responsibilities. London Stock Exchange Group plc 10 Paternoster Square London EC4M 7LS Registered in England and Wales No 05369106 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users