ssbssa / heob

Detects buffer overruns and memory leaks.
Boost Software License 1.0
155 stars 25 forks source link

Document how to create human-readable reports from leaks.xml #12

Closed mitchcurtis closed 6 years ago

mitchcurtis commented 6 years ago

It's not possible to Select All + Copy heob's output in Qt Creator, and leaks.xml is very hard to read. There should be a (documented) way of creating human-readable reports from leaks.xml.

ssbssa commented 6 years ago

Try to add -oleaks.html into the Extra Arguments field, and see if the generated leaks.html meets your needs.

mitchcurtis commented 6 years ago

Ah, cool. The colours are a bit much though - is there a way to configure that?

ssbssa commented 6 years ago

No, they can't be configured. If you don't need colors just use -oleaks.txt (or basically anothing other than .html).

ssbssa commented 6 years ago

Oh, and in this output file you can show the leak contents as well with -L1024. And if you have multiple leaks, and you want to see how their stacktraces might be related, try -g2.

mitchcurtis commented 6 years ago

OK, thanks. :) Will try those out.

ssbssa commented 3 years ago

FYI, the HTML colors can now be configured with an external CSS file, thanks to #22.