On Apr 21, 9:10 pm, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> Bo Yang wrote:
> > Hi,
> >    I think my question has something to do with statically analysis,
> > so I post here.
> >    Along with my reading of Mozilla code, I find it is very helpful if
> > I can gain a part of classes hierarchy graph from the C++ source
> > code.
> >    Could anybody please help me and give me some advice about with
> > which tools under Linux I can achieve my purpose? Thanks in advance!
>
> dmandelin already wrote a tool to do this, see the first paragraph 
> ofhttp://blog.mozilla.com/dmandelin/2008/02/28/a-few-notes-on-string-apis/
>
> I think we would dearly love to actually run the analysis every time you
> build with static analysis, because it's cheap to do... then it wouldn't be
> hard to implement a "make classgraph" target to build an SVG/HTML/something
> version of the result.

Good idea! I am now working on generating graph for layout classes. I
think I will try to generate more for other part of Mozilla after this
because it is really helpful to under the code.

And when I make my own dehydra-gcc, I find the patch is not updated
with the gcc trunk source, so I will submit a patch for the
plugin.diff in next thread.  Taras, please review it if you are here.

Thanks!

Regards!
Bo
_______________________________________________
Dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to