Hi,
I wrote a really simple Pin tool to calculate the number of dynamically
allocated bytes in a program. I instrumented GIMP with this tool and it
reported 77 MB of allocations. I did the same experiment with Valgrind
which reported 117 MB.
My Pin tool is similar to the example in Pin. It searches for malloc(),
calloc() and memalign() in each loaded image and adds instructions before
them to calculate the total size of the allocations.
I am really confused and need help!
Regards.
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to