Valgrind & Andvare

3:06 am Blogroll, GNOME, General, PyGTK, Python

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...]

andvare.png

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 http://code.launchpad.net/~jdahlin/andvare/main/

8 Responses

  1. Gustavo Sverzut Barbieri Says:

    You rock Johan!

  2. bersace Says:

    Wow ! Can you integrate this in Anjuta ?

    Keep up the good work !

    Étienne.

  3. Emanuele Aina Says:

    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. :)

  4. Philip Withnall Says:

    Nice. Looks very useful. :D

  5. Stéphane Loeuillet Says:

    Wouldn’t it be good to share the efforts with Alleyoop (http://alleyoop.sourceforge.net/)

    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.

    Bye

    Stéphane

  6. 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.

  7. Mario Says:

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

    Good work ^_^

  8. Daniel Holbach Says:

    You can put releases on Launchpad also: https://launchpad.net/andvare/+download