Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting Valgrind XML Output to HTML

I know there is a possibility to create a valgrind output in xml. But is there a possibility to convert it into html? Cause standard converter has problems with valgrind output convention. Or does anybody have a stylesheet for it?

like image 712
Lama Dingo Avatar asked Oct 20 '25 08:10

Lama Dingo


1 Answers

Valgrind doesn't directly output as HTML, however there was talk on the Valgrind Users mailing list about 10 years ago about developing a XSLT, however the links in the mailing list appear to be dead - or at least redirected.

There is also this question which suggests there are other people working on such a thing.

Other than that if google can not find one for you, you will probably have to write your own, if you genuinely need one. But it might be just as easy to grab the standard output and insert that into an html page as go to the hassle of translating the xml.

In addition, ensure you are using the correct options, such as --child-silent-after-fork=yes

Use of this option is also strongly recommended if you are requesting XML output (--xml=yes), since otherwise the XML from child and parent may become mixed up, which usually makes it useless.

like image 148
mjs Avatar answered Oct 21 '25 23:10

mjs