|
From: Bryan M. <om...@br...> - 2006-09-02 21:42:22
|
Fellow Valgrinders, please see http://www.brainmurders.eclipse.co.uk/omega.html for a complete overview of what this tool can do for you! (We use this heavily at work - feel free to give it a spin...) >From the web page: ================== Omega addresses what I perceive to be one of the few shortfalls of the excellent Valgrind Memcheck Tool - where Memcheck reports the location that a leaked block was allocated, Omega also shows where it was leaked. New in Beta5: ============= Aggregates the circular references together into common contexts, giving a repeat count and leak amount for that context and makes display optional. Broke the debugger attach :( On the positive side, it gives much more accurate leak reports in some cases, having finally closed off some edge cases with functions that return values. A reported bug with realloc() on x86 (not x86-64) was also fixed (thanks for the report). Exposed some internal sizing information for users with HUGE programs to tweak for potentially faster execution. The next patch is likely to be a release candidate unless you find me some juicy bugs to chomp on. Known Issues: ============= I have a wrapper around main() to detect when to stop tracking - if you are using threads and they don't exit before main() does, there will be problems. I haven't particularly tested this with threads yet - that's targeted for the later on. It can also affect the stack trace slightly. Requested Features? =================== I am still toying with the idea of allowing targeted tracking through the use of the suppression system - exclusively report on a specified malloc() call. show hanging pointers at a targeted call to free(). turn on more verbose output for a given memory block. Generate leak reports in some XML format to make machine parsing simple. If you use Omega and think any of these features would be useful or have requests of your own, please let me know. As ever, I would welcome your comments, bug reports and especially any news of success stories. Please share them with us on the list and copy me in so I don't miss them. thanks and happy hunting, Bryan "Brain Murders" Meredith |