On 09/04/2010 12:31 PM, Harsha wrote:
We have finally got dehydra installed. Are there any java scripts that
I can use to detect memory leaks in our largely C (some C++) code base
of about 300k lines?
I don't know the state of the art in static memory leak detection, but
you are likely to find that valgrind and its ilk are a more useful tool
for tracking down memory leaks than dehydra, unless you have a
well-defined pointer ownership model.
Under Dehydra FAQ we have "Where can I find JS code for real-life
analyses for dehydra?". However I cannot find any scripts in that
link. Can somebody please point me to some analysis scripts so that I
play with it and familiarize myself in using dehydra to solve my
problem - detect memory leaks and fix them
http://mxr.mozilla.org/mozilla-central/source/js/src/jsstack.js is one
script.
http://mxr.mozilla.org/mozilla-central/source/xpcom/analysis/ is a whole
suite of scripts.
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis