Valgrind & Andvare

Yesterday I on a bus ride from São Paulo I had the opportunity to see some of the developments tools available on OSX. Shark and mallocdebug are quite interesting, bling-bling for the developer masses.

When I woke up this morning I realized that it shouldn’t be too difficult to do something similar on top of valgrind.

[…later in the evening and 500 lines typed down…]


It’s quite useful already, it groups all the leaks by the topmost function which is a bit easier to follow than the output valgrind usually gives us.

You can find a tarball here if you want to play around with it.

Update: I uploaded a bzr branch to launchpad:

bzr branch

This entry was posted in Blogroll, General, GNOME, PyGTK, Python. Bookmark the permalink.

8 Responses to Valgrind & Andvare

  1. bersace says:

    Wow ! Can you integrate this in Anjuta ?

    Keep up the good work !


  2. Could you set up a public repository with the DSCM of your choice?

    I’m very interested in using something similar for doing reports when running unittests with Check and maybe I will look into stealing some of your code. 🙂

  3. Nice. Looks very useful. 😀

  4. Wouldn’t it be good to share the efforts with Alleyoop (

    It’s another Valgrind front-end for gnome.

    Last release is near 1 year old, so perhaps it is a dead project

    Thanks for starting that one, it looks good.



  5. johan says:

    Gustavo & Philip: Thanks!

    bersace: I don’t really use Anjuta, but feel free to integrate it yourself, it shouldn’t be that difficult, just run andvare -s program args.

    Emanuele: I uploaded a bzr repo to launchpad and updated the blog entry to tell where you can find it.

    Stéphane: Alleyoop is written in C, I wouldn’t dream of writing a program in C.

  6. Mario says:

    If you are interested to get Andvare package in Ubuntu, do contact me 🙂

    Good work ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *