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 of http://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. --BDS _______________________________________________ Dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
